erf(3m)erf(3m)Name
erf, erfc - error function and complementary error function
Syntax
#include <math.h>
double erf (x)
double x;
double erfc (x)
double x;
Description
NOTE: Your terminal may not be able to accurately display the special
math symbols in this reference page. See the ULTRIX Programmer's Man‐
ual, Unsupported for a complete description of the math symbols.
x
The function returns the error function of x, defined as ___∫e−t2dt.
\│π0
The function, which returns 1.0 - erf(x), is provided because of the
extreme loss of relative accuracy if erf(x) is called for large x and
the result subtracted from 1.0 (e.g. for x = 5, 12 places are lost).
See Alsoexp(3m)
ULTRIX Programmer's Manual, Unsupported
VAX erf(3m)