#include <math.h>
double erf(x) double x;
double erfc(x) double x;
Erfc(x) returns 1.0-erf(x).
The entry for erfc is provided because of the extreme loss of relative accuracy if erf(x) is called for large x and the result subtracted from 1. (e.g. for x = 10, 12 places are lost).
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97