Numbers & math
Scalar
log()
Computes the logarithm of x to base b. b may be omitted, in which case the default 10
Arguments & returns
2 overloadslog(b)
Scalar
| Overload link | b |
Returns |
|---|---|---|
| #01 | DOUBLE |
DOUBLE |
log(b, x)
Scalar
| Overload link | b | x |
Returns |
|---|---|---|---|
| #02 | DOUBLE | DOUBLE |
DOUBLE |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.