EXP — Exponential function#
-
EXP(X)#
EXP(X)computes the base e exponential ofX.- Parameters:
X – The type shall be
REALorCOMPLEX.- Returns:
The return value has same type and kind as
X.
- Standard:
Fortran 77 and later, has overloads that are GNU extensions
- Class:
Elemental function
- Syntax:
RESULT = EXP(X)
- Example:
program test_exp real :: x = 1.0 x = exp(x) end program test_exp
- Specific names:
Name
Argument
Return type
Standard
EXP(X)REAL(4) XREAL(4)Fortran 77 and later
DEXP(X)REAL(8) XREAL(8)Fortran 77 and later
CEXP(X)COMPLEX(4) XCOMPLEX(4)Fortran 77 and later
ZEXP(X)COMPLEX(8) XCOMPLEX(8)GNU extension
CDEXP(X)COMPLEX(8) XCOMPLEX(8)GNU extension