March 2000
Intermediate to advanced
576 pages
18h 13m
English
Ln Function
function Ln(X: Floating-point type): Extended;
Ln returns the natural logarithm of
X. The Ln function is
built-in.
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.
| Exp Function |
Read now
Unlock full access