Author(s): G.A. Erskine | Library: MATHLIB or Fortran Compiler Library |
Submitter: K.S. Kölbig | Submitted: 20.04.1970 |
Language: Fortran | Revised: 07.06.1992 |
Function subprograms ERF, ERFC and DERF, DERFC compute the error and complementary error functions
defined for all values of the real argument x.
On CDC and Cray computers, the double-precision versions DERF and DERFC are not available.
Structure:
FUNCTION subprograms
User Entry Names: ERF, ERFC, DERF, DERFC
Usage:
In any arithmetic expression,
Method:
Computation by rational Chebyshev approximation.
Accuracy:
The system-supplied versions (see Notes) have full machine accuracy. The CERN-supplied versions of ERF and ERFC have full single-precision accuracy (slightly less on CDC and Cray computers). The CERN-supplied versions of DERF and DERFC have an accuracy of 15 significant digits.
Notes:
On some computers, one or both of these functions is available in the system-supplied Fortran mathematical library. In this case the system-supplied version will be loaded instead of the CERN version.
References: