Difference between revisions of "ApCoCoA-1:Fn.Ln2N"
From ApCoCoAWiki
m (insert version info) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Version|1}} | ||
<command> | <command> | ||
<title>Fn.Ln2N</title> | <title>Fn.Ln2N</title> | ||
Line 19: | Line 20: | ||
</example> | </example> | ||
</description> | </description> | ||
− | <see>Fn.Ln2</see> | + | <see>ApCoCoA-1:Fn.Ln2|Fn.Ln2</see> |
− | <see>Fn.SetAccuracy</see> | + | <see>ApCoCoA-1:Fn.SetAccuracy|Fn.SetAccuracy</see> |
− | <see>Fn.GetAccuracy</see> | + | <see>ApCoCoA-1:Fn.GetAccuracy|Fn.GetAccuracy</see> |
<key>Fn.Ln2N</key> | <key>Fn.Ln2N</key> | ||
<key>elemfns.Ln2N</key> | <key>elemfns.Ln2N</key> | ||
<key>Ln2N</key> | <key>Ln2N</key> | ||
− | <wiki-category>Package_elemfns</wiki-category> | + | <wiki-category>ApCoCoA-1:Package_elemfns</wiki-category> |
</command> | </command> |
Latest revision as of 10:03, 7 October 2020
This article is about a function from ApCoCoA-1. |
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 -------------------------------