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

Unified Diff: src/third_party/fdlibm/fdlibm.js

Issue 1424703005: Remove JSBuiltinsObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
« src/objects.h ('K') | « src/snapshot/serialize.cc ('k') | src/types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/third_party/fdlibm/fdlibm.js
diff --git a/src/third_party/fdlibm/fdlibm.js b/src/third_party/fdlibm/fdlibm.js
index 1cc73b84a90ef7532588d2256815ca5be61587b4..2a4fb3b6e872ed939f7206ff2e2847c48aef648c 100644
--- a/src/third_party/fdlibm/fdlibm.js
+++ b/src/third_party/fdlibm/fdlibm.js
@@ -1068,10 +1068,10 @@ function MathLog2(x) {
v = s_l * t_h + t_l * ss;
// 2 / (3 * log(2)) * (ss + ...)
- p_h = %_ConstructDouble(%_DoubleHi(u + v), 0);
- p_l = v - (p_h - u);
- z_h = CP_H * p_h;
- z_l = CP_L * p_h + p_l * CP + dp_l;
+ var p_h = %_ConstructDouble(%_DoubleHi(u + v), 0);
+ var p_l = v - (p_h - u);
+ var z_h = CP_H * p_h;
+ var z_l = CP_L * p_h + p_l * CP + dp_l;
// log2(ax) = (ss + ...) * 2 / (3 * log(2)) = n + dp_h + z_h + z_l
var t = n;
« src/objects.h ('K') | « src/snapshot/serialize.cc ('k') | src/types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698