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

From ApCoCoAWiki
(New page: <command> <title>Fn.Ln</title> <short_description>Returns the natural logarithm of a given value.</short_description> <syntax> Fn.Ln(X:RAT):RAT </syntax> <description> This function re...)
 
m (insert version info)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
   <title>Fn.Ln</title>
 
   <title>Fn.Ln</title>
Line 21: Line 22:
 
</example>
 
</example>
 
</description>
 
</description>
<see> Fn.LnN</see>
+
<see>ApCoCoA-1:Fn.LnN|Fn.LnN</see>
<see> Fn.Log</see>
+
<see>ApCoCoA-1:Fn.Log|Fn.Log</see>
<see> Fn.LogN</see>
+
<see>ApCoCoA-1:Fn.LogN|Fn.LogN</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.Ln</key>
 
<key>Fn.Ln</key>
<key>apcocoa/elemfns.Ln</key>
+
<key>elemfns.Ln</key>
 
<key>Ln</key>
 
<key>Ln</key>
<wiki-category>Package_elemfns</wiki-category>
+
<wiki-category>ApCoCoA-1:Package_elemfns</wiki-category>
 
</command>
 
</command>

Latest revision as of 10:02, 7 October 2020

This article is about a function from ApCoCoA-1.

Fn.Ln

Returns the natural logarithm of a given value.

Syntax

Fn.Ln(X:RAT):RAT

Description

This function returns the natural logarithm of X rounded to the current global accuracy.

  • @param X The value of which to compute the logarithm.

  • @return The natural logarithm of X rounded to the current global accuracy.

Example

Fn.SetAccuracy(20);
R := Fn.Ln(5);
Dec(R, 40);

1.6094379124341003746
-------------------------------

Fn.LnN

Fn.Log

Fn.LogN

Fn.SetAccuracy

Fn.GetAccuracy