Namespaces
Variants
Views
Actions

std::erfc

From cppreference.com
< cpp‎ | numeric‎ | math
Revision as of 08:41, 23 January 2014 by Cubbi (Talk | contribs)

 
 
 
 
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

Parameters

arg - value of a floating-point or Integral type

Return value

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

See also

(C++11)(C++11)(C++11)
error function
(function) [edit]

External links

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