exp(x) fortran code example Example: exp(x) fortran --e^x program test_exp real :: x = 1.0 x = exp(x) end program test_exp