ln (Function)
Signature: ln(x: t0) -> t0
Description: The natural logarithm of a float. Total: zero yields negative infinity and a negative argument NaN. Named ln so programs keep the name log for their loggers.
Parameters
- x (
t0): The float to take the logarithm of
Returns: t0
Example
print(ln(1.0)) // 0.0
print (ln 1.0) // 0.0