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

From ApCoCoAWiki
(New page: <command> <title>Fn.Exp</title> <short_description>Returns the exponential of a given value.</short_description> <syntax> Fn.Exp(X:RAT):RAT </syntax> <description> This function return...)
 
Line 26: Line 26:
 
<see>  Fn.GetAccuracy</see>
 
<see>  Fn.GetAccuracy</see>
 
<key>Fn.Exp</key>
 
<key>Fn.Exp</key>
<key>apcocoa/elemfns.Exp</key>
+
<key>elemfns.Exp</key>
 
<key>Exp</key>
 
<key>Exp</key>
 
<wiki-category>Package_elemfns</wiki-category>
 
<wiki-category>Package_elemfns</wiki-category>
 
</command>
 
</command>

Revision as of 14:09, 4 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