Difference between revisions of "ApCoCoA-1:Fn.Ln2"
From ApCoCoAWiki
Line 19: | Line 19: | ||
</example> | </example> | ||
</description> | </description> | ||
− | <see> | + | <see>Fn.Ln2N</see> |
− | <see> | + | <see>Fn.SetAccuracy</see> |
− | <see> | + | <see>Fn.GetAccuracy</see> |
<key>Fn.Ln2</key> | <key>Fn.Ln2</key> | ||
<key>elemfns.Ln2</key> | <key>elemfns.Ln2</key> |
Revision as of 09:02, 5 May 2011
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