ApCoCoA-1:Fn.Exp

From ApCoCoAWiki
This article is about a function from ApCoCoA-1.

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