Difference between revisions of "LnXP1"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function LnXP1(X: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the [http:/...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
function LnXP1(X: Extended): Extended;
+
function LnXP1(const X: Extended): Extended;
 
</source>
 
</source>
  
Line 27: Line 27:
  
 
==See Also==
 
==See Also==
 +
*[[Ln]]
 
*[[Log2]]
 
*[[Log2]]
 
*[[Log10]]
 
*[[Log10]]

Latest revision as of 12:25, 23 September 2011

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