Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: src/js/v8natives.js

Issue 2103733003: [turbofan] Introduce Float64Pow and NumberPow operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE on ARM64 bug fix. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/js/math.js ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/v8natives.js
diff --git a/src/js/v8natives.js b/src/js/v8natives.js
index 9e437a3f028f1ab59586d92f1824b21692fd237b..5dfe877a175d15c32ffce08c4a27e58c5fcf199d 100644
--- a/src/js/v8natives.js
+++ b/src/js/v8natives.js
@@ -397,9 +397,9 @@ utils.InstallConstants(GlobalNumber, [
// --- Harmony constants (no spec refs until settled.)
- "MAX_SAFE_INTEGER", %_MathPow(2, 53) - 1,
- "MIN_SAFE_INTEGER", -%_MathPow(2, 53) + 1,
- "EPSILON", %_MathPow(2, -52)
+ "MAX_SAFE_INTEGER", 9007199254740991,
+ "MIN_SAFE_INTEGER", -9007199254740991,
+ "EPSILON", 2.220446049250313e-16,
]);
// Set up non-enumerable functions on the Number prototype object.
« no previous file with comments | « src/js/math.js ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698