Functions

ln1

Supported By

Syntax

[the] ln1 of factor

ln1 ( expression )

Factor and expression yield integers, numbers, or complexes.

Example

put the ln1 of 10 -- yields 2.397895

Description

The ln1 function returns the base-e (natural) logarithm of 1 plus the number passed to it. That is, it returns:

ln(1+number)

The ln1 function is faster and more accurate than using the above formula.

If the argument is an integer or a number greater than -1, a number is returned. If the argument is -1 exactly, negative infinity is returned. If the argument is an integer or a number less than -1, 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, exp10, ln, log2, log10, log