erf(3m)
_________________________________________________________________
erf, erfc
error function and complementary error function
_________________________________________________________________
SYNTAX
#include <math.h>
double erf (x)
double x;
double erfc (x)
double x;
DESCRIPTION
x
Erf returns the error function of x, defined as _2∫e-t2dt.
\|π0
Erfc returns 1.0 - erf(x) to maintain accuracy. When erf(x) is
called for large x and the result subtracted from 1.0, there can
be large errors (e.g., for x = 5, 12 places are lost).
SEE ALSO
exp(3M).
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)