ApCoCoA-1:Fn.Ln2N

From ApCoCoAWiki
Revision as of 08:58, 4 May 2011 by S schuster (talk | contribs) (New page: <command> <title>Fn.Ln2N</title> <short_description>Returns the natural logarithm of 2 rounded to accuracy <tt>Acc</tt>.</short_description> <syntax> Fn.Ln2N(Acc:INT):RAT </syntax> <de...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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