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

From ApCoCoAWiki
Line 22: Line 22:
 
</example>
 
</example>
 
</description>
 
</description>
<see> Fn.ExpN</see>
+
<see>Fn.ExpN</see>
<see> Fn.SetAccuracy</see>
+
<see>Fn.SetAccuracy</see>
<see> Fn.GetAccuracy</see>
+
<see>Fn.GetAccuracy</see>
 
<key>Fn.Exp</key>
 
<key>Fn.Exp</key>
 
<key>elemfns.Exp</key>
 
<key>elemfns.Exp</key>

Revision as of 09:01, 5 May 2011

Fn.Exp

Returns the exponential of a given value.

Syntax

Fn.Exp(X:RAT):RAT

Description

This function returns the exponential of X rounded to the current global

accuracy.

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

  • @return Returns the exponential of X rounded to the current global accuracy.

Example

Fn.SetAccuracy(20);
R := Fn.Exp(2);
Dec(R, 30);

7.38905609893065022723
-------------------------------

Fn.ExpN

Fn.SetAccuracy

Fn.GetAccuracy