Next: , Previous: EPSILON, Up: Intrinsic Procedures


8.50 ERF — Error function

Description:
ERF(X) computes the error function of X.
Option:
gnu
Class:
elemental function
Syntax:
X = ERF(X)
Arguments:

X The type shall be REAL(*), and it shall be scalar.

Return value:
The return value is a scalar of type REAL(*) and it is positive ( - 1 \leq erf (x) \leq 1 .
Example:
          program test_erf
            real(8) :: x = 0.17_8
            x = erf(x)
          end program test_erf
     

Specific names:

Name Argument Return type Option
DERF(X) REAL(8) X REAL(8) gnu