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

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

Latest revision as of 10:02, 7 October 2020

This article is about a function from ApCoCoA-1.

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