LogiView

Function 'exp'

     

This function returns the result of the "natural" exponential function (inverse function for the natural logarithm 'ln').

 

Syntax:

  {INT_VAR|FLO_VAR} = exp({NUM_EXPR})
 

I/O parameters:

{NUM_EXPR} Value to be calculated
-  
 

Return value:

 
{INT_VAR|FLO_VAR} Integer or float value containing the result of this function
 

Example:

  Declaration of Variables
 
10 DOCU_FLOAT_1= exp(0.5)
20 put(DOCU_FLOAT_1)
  Result:
 
In order to prevent errors, the float/double type must be used if results can be expected to be either very large or very small (<2^-31 or > 2^31).

Functions and commands: Mathematics