Error function and related functions in Fortran 2008

Download erf Download erf
Download erf
Download erf

Fortran 2008 added 3 new intrinsic functions: erf, erfc, erfc_scaled. However, they take only real arguments. This package provides a BSD licensed Fortran 2008 module with erf(z), where z is a complex argument. The calculation is based on calculating w(z), the Faddeyeva (plasma dispersion) function. Two TOMS algorithms are implemented: 680 and 916. The simple test program errtest.f90 calculates values in the Abramowitz, Stegun.

Feedback and support

With any questions, bug reports, feedback and any other comments please submit a ticket.


AUG-2016: Initial release, 1.

Other Fortran related projects

validate this page