Natural logarithm

Syntax

LOG …numeric-expr…

Typing

numeric -> FLOAT?

Description

Compute the natural logarithm of the operand.

Returns NULL on negative operands.

Examples

expression evaluates to
LOG 1 0
LOG(-1) NULL

See Also

Exponential function Decimal logarithm