Next: , Previous: EXIT, Up: Intrinsic Procedures


7.52 EXP — Exponential function

Description:
EXP(X) computes the base e exponential of X.
Option:
f95, gnu
Class:
elemental function
Syntax:
X = EXP(X)
Arguments:

X The type shall be REAL(*) or COMPLEX(*).

Return value:
The return value has same type and kind as X.
Example:
          program test_exp
            real :: x = 1.0
            x = exp(x)
          end program test_exp
     

Specific names:

Name Argument Return type Option
DEXP(X) REAL(8) X REAL(8) f95, gnu
CEXP(X) COMPLEX(4) X COMPLEX(4) f95, gnu
ZEXP(X) COMPLEX(8) X COMPLEX(8) f95, gnu
CDEXP(X) COMPLEX(8) X COMPLEX(8) f95, gnu