
#include <lcmath.h> double erfc(double x);
erfc computes the complementary error function of its argument x. The
value returned by erfc is defined by this equation:
Note the following:
erf(x) + erfc(x) = 1
erfc returns the complementary error function of its argument.
stderr) by the
run-time library if x exceeds the value 13.30619656013802. In this case,
the function returns 0.0.
If an error occurs in erfc, the _matherr routine is called. You
can supply your own version of _matherr to suppress the diagnostic
message or modify the value returned.
erfc:
#include <stdio.h>
#include <lcmath.h>
#define SVECTOR .7854
main()
{
double erfcv;
erfcv = erfc(SVECTOR);
printf("erfc(%f) = %fn", SVECTOR, erfcv);
}
erf, _matherr
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.