Comparing version 1.7.0 to 1.8.0
@@ -0,1 +1,8 @@ | ||
v1.8.0 | ||
====== | ||
2016-09-25T10:43:38Z | ||
- `approxEquals` now better handles numbers near zero. | ||
v1.7.0 | ||
@@ -2,0 +9,0 @@ ====== |
{ | ||
"name": "fus-ext", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "FutureScript Extension", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -32,3 +32,7 @@ "use strict";Object.defineProperty(exports, "__esModule", { | ||
return (function () { | ||
var threshold;threshold = 1 + 1 / 8388608;return chainedCompare_573300145710716007(1 / threshold, 2, a / b, 2, threshold); | ||
var threshold, ratioThreshold;threshold = 1 / 8388608;ratioThreshold = 1 + threshold;return Math.abs(a) < threshold || Math.abs(b) < threshold ? (function () { | ||
return Math.abs(a - b) < threshold; | ||
})() : (function () { | ||
return chainedCompare_573300145710716007(1 / ratioThreshold, 2, a / b, 2, ratioThreshold); | ||
})(); | ||
})(); | ||
@@ -35,0 +39,0 @@ };exports.approxGreaterThan = approxGreaterThan = function (ns, a, b) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
330385
4130