double erf (double x); float erff (float x);long double erfl (long double x);
double erf (double x); float erf (float x);long double erf (long double x); double erf (T x); // additional overloads for integral types
<cmath>
) for the integral types: These overloads effectively cast x to a double
before calculations (defined for T being any integral type).
|
|
erf (1.000000) = 0.842701 |