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

category: intrinsics