erf

Error function

The integral is

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

The magnitude of x is limited to about 106.56 for IEEE 80-bit arithmetic; 1 or -1 is returned outside this range.

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

Meta