log

Returns the natural logarithm (base e) of a numeric value.

Syntax

log(value)

Parameters

Return value

A floating-point or a complex number.

Examples

log(2)
0.6931471805599453094172321214581766
log(-1)
3.1415926535897932384626433832795028*I