Returns the error function of x0.
Remember to link the math library: valac -X -lm ...
valac -X -lm ...
Defined as erf(x) = 2/sqrt(pi)* integral from 0 to x0 of exp(-t*t) dt.
erf(x) = 2/sqrt(pi)* integral from 0 to x0 of exp(-t*t) dt
A numeric value.