7.12.8.2 The erfc functions

Synopsis

1

#include <math.h>
double erfc(double x);
float erfcf(float x);
long double erfcl(long double x);

Description

2

The erfc functions compute the complementary error function of x. A range error occurs if x is too large.

Returns

3

The erfc functions return

2       (inf)
erfc x = 1 - erf x =     -----    (integral)  e-t2 dt .
                      (sqrt)(pi)    x