Exponential.

**X**- must be of type real or complex.

**Class**

Elemental function

**Result Type and Attributes**

Same as X.

**Result Value**

- The result approximates e
^{x}. - If X is of type complex, its imaginary part is regarded as a value in radians.

**Examples**

EXP (1.0) has the value 2.7182818 (approximately).

Specific Name | Argument Type | Result Type | Pass As Arg? |
---|---|---|---|

EXP (1)
| default real | default real | yes |

DEXP (2)
| double precision real | double precision real | yes |

QEXP (2) (3)
| REAL(16) | REAL(16) | yes |

CEXP (4a)
| default complex | default complex | yes |

CDEXP (4b) (3)
| double complex | double complex | yes |

ZEXP (4b) (3)
| double complex | double complex | yes |

CQEXP (4b) (3)
| COMPLEX(16) | COMPLEX(16) | yes |

**Notes: **

- X must be less than or equal to 88.7228.
- X must be less than or equal to 709.7827.
- IBM Extension.
- When X is a complex number in the form a + bi, where
i = (-1)
^{½}:- a must be less than or equal to 88.7228; b is any real value.
- a must be less than or equal to 709.7827; b is any real value.