math.log()
Computes the natural logarithm.
Signature
math.log(x)
Parameters
One number.
Returns
f64, with negative infinity at zero and NaN for negative inputs.
Behavior
Uses the C math operation.
Errors
Requires a number.
Example
use math
assert(math.log(1) == 0)