Fortran Wiki
exp (changes)

Showing changes from revision #1 to #2: Added | Removed | Changed

Description

exp(x) computes the base ee exponential of x.

Standard

Fortran 77 and laterFORTRAN 77 and later

Class

Elemental functionElemental 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