Use short-cut to Math.abs()

This commit is contained in:
Jürg Lehni 2013-03-23 17:05:48 -07:00
parent d0c763f27d
commit e63b3a0797

View file

@ -74,7 +74,7 @@ var Numerical = new function() {
* Numerical.EPSILON.
*/
isZero: function(val) {
return Math.abs(val) <= this.EPSILON;
return abs(val) <= this.EPSILON;
},
/**