# erfc.f

          FUNCTION ERFC (X)
    C***BEGIN PROLOGUE  ERFC
    C***PURPOSE  Compute the complementary error function.
    C***LIBRARY   SLATEC (FNLIB)
    C***CATEGORY  C8A, L5A1E
    C***TYPE      SINGLE PRECISION (ERFC-S, DERFC-D)
    C***KEYWORDS  COMPLEMENTARY ERROR FUNCTION, ERFC, FNLIB,
    C             SPECIAL FUNCTIONS
    C***AUTHOR  Fullerton, W., (LANL)
    C***DESCRIPTION
    C
    C ERFC(X) calculates the single precision complementary error
    C function for single precision argument X.
    C
    C Series for ERF        on the interval  0.          to  1.00000D+00
    C                                        with weighted error   7.10E-18
    C                                         log weighted error  17.15
    C                               significant figures required  16.31
    C                                    decimal places required  17.71
    C
    C Series for ERFC       on the interval  0.          to  2.50000D-01
    C                                        with weighted error   4.81E-17
    C                                         log weighted error  16.32
    C                        approx significant figures required  15.0
    C
    C
    C Series for ERC2       on the interval  2.50000D-01 to  1.00000D+00
    C                                        with weighted error   5.22E-17
    C                                         log weighted error  16.28
    C                        approx significant figures required  15.0
    C                                    decimal places required  16.96
    C
    C***REFERENCES  (NONE)
    C***ROUTINES CALLED  CSEVL, INITS, R1MACH, XERMSG
    C***REVISION HISTORY  (YYMMDD)
    C   770701  DATE WRITTEN
    C   890531  Changed all specific intrinsics to generic.  (WRB)
    C   890531  REVISION DATE from Version 3.2
    C   891214  Prologue converted to Version 4.0 format.  (BAB)
    C   900315  CALLs to XERROR changed to CALLs to XERMSG.  (THJ)
    C   920618  Removed space from variable names.  (RWC, WRB)
    C***END PROLOGUE  ERFC