Ln Function
Delphi automatically converts Integer
and
Variant
arguments to floating point. To convert an
Int64
argument to floating point, add 0.0.
If X
is a signaling NaN or negative (including
negative infinity), Delphi reports runtime error 6
(EInvalidOp
).
If X
is zero, Delphi reports runtime error 7
(EZeroDivide
).
If X
is positive infinity, the result is positive
infinity.
If X
is a quiet NaN, the result is
X
.