3 Commits

Author SHA1 Message Date
jos
4469f6bd0c Remove support for implicit conversion of null to 0. See #830. 2018-01-23 20:26:38 +01:00
Pat Grasso
d2ae67cca3 erf(Infinity) should return 1, not NaN
Likewise, erf(-Infinity) should be -1. This is true for any really large
|x|...say, |x| > 2^53.
2016-10-20 15:54:02 -04:00
Pat Grasso
33ab725d53 Create spec for erf() and include test data
Values in `erf.values.json` come from python's `math.erf()`. Actual
values should be within 5e-16 of the expected values.

Test against real number, matrix, array, bignumber, boolean, and
null values.
2016-10-20 15:33:09 -04:00