ApCoCoA-1:Fn.Ln2N: Difference between revisions

From ApCoCoAWiki
m fixed links to namespace ApCoCoA
m insert version info
 
Line 1: Line 1:
{{Version|1}}
<command>
<command>
   <title>Fn.Ln2N</title>
   <title>Fn.Ln2N</title>

Latest revision as of 10:03, 7 October 2020

This article is about a function from ApCoCoA-1.

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