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

From ApCoCoAWiki
m (fixed links to namespace ApCoCoA)
m (insert version info)
 
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
   <title>Fn.ExpN</title>
 
   <title>Fn.ExpN</title>

Latest revision as of 10:02, 7 October 2020

This article is about a function from ApCoCoA-1.

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