Search code examples
fortranfortran90fortran95

Is there an equivalent of DEXP for complex*16 arguments in Fortran?


As stated in the question : Is there an equivalent of DEXP for complex*16 arguments in Fortran (90 and later)?


Solution

  • complex*16 isn't Fortran (90 or earlier or later). If your data type is complex(real64) (or the non-standard complex*16) the standard generic exp() will select the corresponding precision and range.