std::erfc

From cppreference.com
< cpp‎ | numeric‎ | math
 
 
 
Common mathematical functions
Functions
Basic operations
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
Exponential functions
(C++11)
(C++11)
(C++11)
(C++11)
Power functions
(C++11)
(C++11)
Trigonometric and hyperbolic functions
(C++11)
(C++11)
(C++11)
Error and gamma functions
(C++11)
erfc
(C++11)
(C++11)
(C++11)
Nearest integer floating point operations
(C++11)(C++11)(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
Floating point manipulation functions
(C++11)(C++11)
(C++11)
(C++11)
(C++11)(C++11)
(C++11)
Classification/Comparison
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Macro constants
(C++11)(C++11)(C++11)(C++11)(C++11)
 
Defined in header <cmath>
float       erfc( float arg );
(since C++11)
double      erfc( double arg );
(since C++11)
long double erfc( long double arg );
(since C++11)
double      erfc( Integral arg );
(since C++11)

Computes the complementary error function of arg.

Contents

[edit] Parameters

arg - value of a floating-point or Integral type

[edit] Return value

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

[edit] See also

(C++11)
error function
(function)

[edit] External links

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