log

Natural logarithm

Calculates the natural logarithm (base e) of x. Returns a ValueError value for non-positive input.

Parameters

Returns

The natural logarithm.

Examples

log(2.71828)
-- Returns = ~1.0

See Also

exp