##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# erfc

From cppreference.com
< c‎ | numeric‎ | math

Defined in header `<math.h>` |  |
float erfcf( float arg ); |  | (since C99)
double erfc( double arg ); |  | (since C99)
long double erfcl( long double arg ); |  | (since C99)

Computes the complementary error function of `arg`.

### [edit] Parameters

arg | - | floating point value

### [edit] Return value

The value of the complementary error function of `arg`, that is 1-erf(arg).

### [edit] See also

erf (C99) | error function (function) [edit]
C++ documentation for erfc

### [edit] External links

Weisstein, Eric W. "Erfc." From MathWorld--A Wolfram Web Resource.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/numeric/math/erfc&oldid=62571"