method

erf

ruby latest stable - Class: Math
erf(p1)
public

Calculates the error function of x.

Domain: (-INFINITY, INFINITY)

Codomain: (-1, 1)

Math.erf(0) #=> 0.0