ApCoCoA-1:Fn.Ln2

From ApCoCoAWiki
Revision as of 08:14, 7 October 2020 by AndraschkoBot (talk | contribs) (fixed links to namespace ApCoCoA)

Fn.Ln2

Returns the natural logarithm of 2 rounded to the current global accuracy.

Syntax

Fn.Ln2():RAT

Description


  • @param Acc The desired accuracy.

  • @return Returns the natural logarithm of 2.

Example

Fn.SetAccuracy(10);
R := Fn.Ln2();
Dec(R, 15);

0.6931471806

Fn.Ln2N

Fn.SetAccuracy

Fn.GetAccuracy