erfc function
- double x
Return the complementary error function of x, 1 - erf(x), without the
loss of precision of the subtraction for large x.
x: double
Returns
- y : double
References
- "scipy.special.erfc". https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.erfc.html. Retrieved 2026-10-13.
- W. J. Cody, "Rational Chebyshev approximations for the error function", Mathematics of Computation 23 (1969), 631-637.
Examples
print(erfc(3.0));
/* output:
0.000022090496998585438
*/
Implementation
double erfc(double x) => _calerf(x, _Kind.erfc);