Difference between revisions of "ApCoCoA:Fn.Exp"

From CoCoAWiki
(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...)
(No difference)

Revision as of 15:00, 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
-------------------------------

ApCoCoA: Fn.ExpN

ApCoCoA: Fn.SetAccuracy

ApCoCoA: Fn.GetAccuracy