Next: , Previous: ERF, Up: Intrinsic Procedures


6.64 ERFC — Error function

Description:
ERFC(X) computes the complementary error function of X.
Standard:
GNU extension
Class:
Elemental function
Syntax:
RESULT = ERFC(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 ( 0 \leq erfc (x) \leq 2 .
Example:
          program test_erfc
            real(8) :: x = 0.17_8
            x = erfc(x)
          end program test_erfc
     

Specific names:

Name Argument Return type Standard
DERFC(X) REAL(8) X REAL(8) GNU extension