#
Fortran Wiki

exp

## Description

`exp(x)`

computes the base $e$ exponential of `x`

.

## Standard

FORTRAN 77 and later

## Class

Elemental function

## Syntax

`result = 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
```

Revised on April 30, 2009 22:46:08
by

Jason Blevins
(71.70.142.190)
(460 characters / 0.0 pages)