log()

Computes the logarithm of x to base b. b may be omitted, in which case the default 10

Arguments & returns

2 overloads

log(b)

Scalar
Overload link b Returns
#01 DOUBLE DOUBLE

log(b, x)

Scalar
Overload link b x Returns
#02 DOUBLEDOUBLE DOUBLE

Example

log example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.