Difference between revisions of "ApCoCoA-1:Fn.Ln"

From ApCoCoAWiki
Line 21: Line 21:
 
</example>
 
</example>
 
</description>
 
</description>
<see> Fn.LnN</see>
+
<see>Fn.LnN</see>
<see> Fn.Log</see>
+
<see>Fn.Log</see>
<see> Fn.LogN</see>
+
<see>Fn.LogN</see>
<see> Fn.SetAccuracy</see>
+
<see>Fn.SetAccuracy</see>
<see> Fn.GetAccuracy</see>
+
<see>Fn.GetAccuracy</see>
 
<key>Fn.Ln</key>
 
<key>Fn.Ln</key>
 
<key>elemfns.Ln</key>
 
<key>elemfns.Ln</key>

Revision as of 09:02, 5 May 2011

Fn.Ln

Returns the natural logarithm of a given value.

Syntax

Fn.Ln(X:RAT):RAT

Description

This function returns the natural logarithm of X rounded to the current global accuracy.

  • @param X The value of which to compute the logarithm.

  • @return The natural logarithm of X rounded to the current global accuracy.

Example

Fn.SetAccuracy(20);
R := Fn.Ln(5);
Dec(R, 40);

1.6094379124341003746
-------------------------------

Fn.LnN

Fn.Log

Fn.LogN

Fn.SetAccuracy

Fn.GetAccuracy