Next: ERFC, Previous: EPSILON, Up: Intrinsic Procedures [Contents][Index]
ERF — Error functionERF(X) computes the error function of X.
Fortran 2008 and later
Elemental function
RESULT = ERF(X)
| X | The type shall be REAL. |
The return value is of type REAL, of the same kind as
X and lies in the range -1 \leq erf (x) \leq 1 .
program test_erf real(8) :: x = 0.17_8 x = erf(x) end program test_erf
| Name | Argument | Return type | Standard |
|---|---|---|---|
DERF(X) | REAL(8) X | REAL(8) | GNU extension |