diff --git a/packages/core-js/modules/esnext.math.sum-precise.js b/packages/core-js/modules/esnext.math.sum-precise.js index 59323fd78513..75a5b312c9fb 100644 --- a/packages/core-js/modules/esnext.math.sum-precise.js +++ b/packages/core-js/modules/esnext.math.sum-precise.js @@ -14,13 +14,9 @@ var pow = Math.pow; var push = uncurryThis([].push); var POW_2_1023 = pow(2, 1023); -var MAX_SAFE_INTEGER = pow(2, 53) - 1; -// exponent 11111111110, significand all 1s -var MAX_DOUBLE = 1.79769313486231570815e+308; // 2 ** 1024 - 2 ** (1023 - 52) -// exponent 11111111110, significand all 1s except final 0 -var PENULTIMATE_DOUBLE = 1.79769313486231550856e+308; // 2 ** 1024 - 2 * 2 ** (1023 - 52) -// exponent 11111001010, significand all 0s -var MAX_ULP = MAX_DOUBLE - PENULTIMATE_DOUBLE; // 1.99584030953471981166e+292, <- 2 ** (1023 - 52) +var MAX_SAFE_INTEGER = pow(2, 53) - 1; // 2 ** 53 - 1 === 9007199254740992 +var MAX_DOUBLE = Number.MAX_VALUE; // 2 ** 1024 - 2 ** (1023 - 52) === 1.79769313486231570815e+308 +var MAX_ULP = pow(2, 971); // 2 ** (1023 - 52) === 1.99584030953471981166e+292 var NOT_A_NUMBER = {}; var MINUS_INFINITY = {};