Concept Framework 2.0 documentation Contents | Index

standard.C.math.exp

Name Version Deprecated
exp version 1.0 no

Prototype:
number exp(number n)

Parameters:
n      [in] Any number

Description:
Returns the exponential value of the parameter, if successful.
On overflow, the function returns indefinite by default and on underflow, exp returns 0.

Example:
import standard.C.math

class Main {
     function Main() {
          var x = 15;
          var y;

          y = exp(x);
          echo "exp(" + x + ") = " + y;

     }
} 
 

Results 
exp(15) = 3269017.3724721107  

Returns:
Returns the exponential value of the parameter, if successful.

Documented by Simona Gabriela Plesuvu, generation time: Fri Jan 21 18:06:18 2011 GMT(c)2011 RadGs Software