This function evaluates the complementary error function.
ERFC — Function value. (Output)
X — Argument for which the function value is desired. (Input)
Specific: The specific interface names are S_ERFC and D_ERFC.
Double: The double precision function name is DERFC.
The complementary error function, erfc(x), is defined to be
The argument x must not be so large that the result underflows. Approximately, x should be less than
where s = AMACH(1) (see the Reference Material section of this manual) is the smallest representable positive floating-point number.
2 1 The function underflows because X is too large.
In this example, erfc(1.0) is computed and printed.
99999 FORMAT (' ERFC(', F6.3, ') = ', F6.3)
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |