Table of Contents

log

Description

Calculate the natural logarithm (base e) of a number.

Function prototype

double log <double:value>

Arguments

Name Type Comment
value double A number, the natural logarithm of which is to be calculated.

Return value

The natural logarithm of the value provided, in double-precision.

Example

echo <zs:log  2.71828183> // log(e) = 1

… the output of which is written to the event log by echo as:

1

Comments

None.

See also