ApCoCoA-1:Fn.Ln2

From ApCoCoAWiki
Revision as of 17:25, 3 May 2011 by S schuster (talk | contribs) (New page: <command> <title>Fn.Ln2</title> <short_description>Compute the natural logarithm of 2.</short_description> <syntax> Fn.Ln2():RAT </syntax> <description> The function computes the natur...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Fn.Ln2

Compute the natural logarithm of 2.

Syntax

Fn.Ln2():RAT

Description

The function computes the natural logarithm of 2 with the given global

accuracy.


  • @param Acc The desired accuracy.

  • @return The natural logarithm of 2.

Example

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

0.6931471806



</types>