the
ln1
of
factor
ln1
(
expression )
Factor and expression yield integer
s, number
s, or complex
es.
put the ln1 of 10 -- yields 2.397895
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.