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

From ApCoCoAWiki
(New page: <command> <title>Fn.ExpN</title> <short_description>Returns the exponential of a given value with a given accuracy.</short_description> <syntax> Fn.ExpN(Val:RAT,Acc:INT):RAT </syntax> ...)
 
Line 26: Line 26:
 
<see>  Fn.GetAccuracy</see>
 
<see>  Fn.GetAccuracy</see>
 
<key>Fn.ExpN</key>
 
<key>Fn.ExpN</key>
<key>apcocoa/elemfns.ExpN</key>
+
<key>elemfns.ExpN</key>
 
<key>ExpN</key>
 
<key>ExpN</key>
 
<wiki-category>Package_elemfns</wiki-category>
 
<wiki-category>Package_elemfns</wiki-category>
 
</command>
 
</command>

Revision as of 14:09, 4 May 2011

Fn.ExpN

Returns the exponential of a given value with a given accuracy.

Syntax

Fn.ExpN(Val:RAT,Acc:INT):RAT

Description

This function returns the exponential of Val rounded to the

given accuracy Acc.

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

  • @param Acc The desired accuracy.

  • @return The exponential of Val rounded to the given accuracy Acc.

Example

R := Fn.ExpN(2, 30);
Dec(R, 40);

7.389056098930650227230427460575
-------------------------------

Fn.Exp

Fn.SetAccuracy

Fn.GetAccuracy