Functions

ln

Supported By

Syntax

[the] ln of factor

ln ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put the ln of 10 -- yields 2.302585

Description

The ln function returns the base-e (natural) logarithm of the number passed to it.

If the argument is a positive integer or number, a number is returned. If the argument is zero, negative infinity is returned. If the argument is a negative integer or number, NaN is returned. To get a complex result, convert the argument to a complex.

If the argument is a complex, a complex is returned.

See Also

exp, exp1, exp2, ln1, log2