ERF — Error function¶
- ERF(X)¶
ERF(X)computes the error function ofX.- Parameters
X – The type shall be
REAL.- Returns
The return value is of type
REAL, of the same kind asXand lies in the range -1 leq erf (x) leq 1 .
Standard:Fortran 2008 and later
Class:Elemental function
Syntax:RESULT = ERF(X)
Example:program test_erf real(8) :: x = 0.17_8 x = erf(x) end program test_erf
Specific names:Name
Argument
Return type
Standard
DERF(X)REAL(8) XREAL(8)GNU extension