Exp

Exp

%Exp function


Function

Returns the natural exponential (ex) of the argument Arg. The result is a real value. If the result cannot be represented as a REAL value, the function returns INVALID.

Declaration

REAL %Exp( REAL in Arg )

Note

Arg

Function argument.

Example

_num := %Exp(0); 1.0 _num := %Exp(1); 2.718282 _num := %Exp(999); INVALID _num := %Exp(-999); 0.0