scalala/Scalala — Issue #36: scalala.library.numerics.erf() is incorrect about 0.0
Author: duckworthd
Created: 2011-12-19 22:15:47+00:00
State: open

For example,

scala> Numerics.erf(-0.5)
res39: Double = -0.5206970701578215

scala> Numerics.erf(0.0)
res40: Double = 1.0

scala> Numerics.erf(0.5)
res41: Double = 0.5206970701578215

Numerics.erf(0.0) should = 0.0