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

From ApCoCoAWiki
m (Bot: Category moved)
Line 28: Line 28:
 
<key>elemfns.Exp</key>
 
<key>elemfns.Exp</key>
 
<key>Exp</key>
 
<key>Exp</key>
<wiki-category>Package_elemfns</wiki-category>
+
<wiki-category>ApCoCoA-1:Package_elemfns</wiki-category>
 
</command>
 
</command>

Revision as of 16:08, 2 October 2020

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