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

From ApCoCoAWiki
m (Bot: Category moved)
m (fixed links to namespace ApCoCoA)
Line 19: Line 19:
 
</example>
 
</example>
 
</description>
 
</description>
<see>Fn.Ln2</see>
+
<see>ApCoCoA-1:Fn.Ln2|Fn.Ln2</see>
<see>Fn.SetAccuracy</see>
+
<see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see>
<see>Fn.GetAccuracy</see>
+
<see>ApCoCoA-1:Fn.GetAccuracy|Fn.GetAccuracy</see>
 
<key>Fn.Ln2N</key>
 
<key>Fn.Ln2N</key>
 
<key>elemfns.Ln2N</key>
 
<key>elemfns.Ln2N</key>

Revision as of 08:14, 7 October 2020

Fn.Ln2N

Returns the natural logarithm of 2 rounded to accuracy Acc.

Syntax

Fn.Ln2N(Acc:INT):RAT

Description


  • @param Acc The desired accuracy.

  • @return Returns the natural logarithm of 2 rounded to accuracy Acc.

Example

R := Fn.Ln2N(30);
Dec(R, 40);

0.693147180559945309417232121458
-------------------------------

Fn.Ln2

Fn.SetAccuracy

Fn.GetAccuracy