diff --git a/test/math.js b/test/math.js index 62899051..f4d3a649 100644 --- a/test/math.js +++ b/test/math.js @@ -813,7 +813,8 @@ describe('Math', function () { }); it('returns zero for really small numbers', function () { - expect(Number.MIN_VALUE).to.equal(Math.pow(2, -1074)); // sanity check + expect(Number.MIN_VALUE).to.equal(5e-324); + expect(Math.fround(Number.MIN_VALUE)).to.equal(0); expect(Math.fround(-Number.MIN_VALUE)).to.equal(0); });