Reduce value of EPSILON to the lowest amount that does not cause issues in boolean-test.

This commit is contained in:
Jürg Lehni 2015-01-02 22:37:36 +01:00
parent 477527f8ec
commit f0fdb804ec

View file

@ -64,7 +64,7 @@ var Numerical = new function() {
PI = Math.PI,
isFinite = Number.isFinite,
TOLERANCE = 1e-5,
EPSILON = 1e-11,
EPSILON = 1e-12,
MACHINE_EPSILON = 1.12e-16;
return /** @lends Numerical */{