The OpenD Programming Language

erfc

Complementary error function

erfc(x) = 1 - erf(x) = 2/ √(π) $(INTEGRATE x, $(INFIN)) exp( - t2) dt

This function has high relative accuracy for values of x far from zero. (For values near zero, use erf(x)).

pure nothrow @safe @nogc
real
erfc
(
real x
)

Meta