Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

erfc, erfcf, erfcl - Complement of error function (mathematical)

&pagelevel(4)&pagelevel

Definition

#include <math.h>

double erfc(double x);
float erfcf(float x); (C11)
long double erfcl(long double x); (C11)

erfc, erfcf and erfcl calculate the complement of the error function for a floating-point number x:

1.0 - erf, 1.0 - erff and 1.0 - erfl.

Return val.

Value of the complement of the error function for x

Note

These functions are provided due to the resulting loss of accuracy when the error functions erf, erff resp. erfl are called for large values of x .

See also

erf, erff, erfl