[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'math' (#rtl) |
Return natural logarithm of 1+X
Source position: math.pp line 306
function lnxp1( |
x: float |
):float; |
Lnxp1 returns the natural logarithm of 1+X. The result is more precise for small values of x. x should be larger than -1.
If $x\leq -1$ then an EInvalidArgument exception will be raised.
|
Return (2 to the power p) times x |
|
|
Return 10-Based logarithm. |
|
|
Return 2-based logarithm |
|
|
Return N-based logarithm. |
Program Example20; { Program to demonstrate the lnxp1 function. } Uses math; begin writeln(lnxp1(0)); writeln(lnxp1(0.5)); writeln(lnxp1(1)); end.
No notes exist for this page yet.