LnXP1

From SCAR Divi Manual
Revision as of 19:53, 30 August 2011 by Freddy (talk | contribs)
Jump to: navigation, search

Definition

function LnXP1(const X: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

Returns the natural logarithm of a value given by X + 1.

Example

begin
  WriteLn(LnXP1(0));
  WriteLn(LnXP1(0.5));
  WriteLn(LnXP1(2));
  WriteLn(LnXP1(10));
end.

Output:

0
0,405465108108164
1,09861228866811
2,39789527279837

See Also