Returns a function that computes the logarithm of a number with a specified base
import { logFnOfBase } from '@kitsuyui/mymath'const log2 = logFnOfBase(2)log2(8) // => 3 Copy
import { logFnOfBase } from '@kitsuyui/mymath'const log2 = logFnOfBase(2)log2(8) // => 3
base of the logarithm
a function that computes the logarithm of a number with the specified base
Returns a function that computes the logarithm of a number with a specified base
Example