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

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

Issue 2029413005: [builtins] Migrate Math.log to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo. 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
Index: src/third_party/fdlibm/fdlibm.js
diff --git a/src/third_party/fdlibm/fdlibm.js b/src/third_party/fdlibm/fdlibm.js
index a5e789f38a59d56083c82338aca4cd59bbb7aee0..afcd3d18d4e0d9feeb1a12d983fb18df488d23b7 100644
--- a/src/third_party/fdlibm/fdlibm.js
+++ b/src/third_party/fdlibm/fdlibm.js
@@ -974,7 +974,7 @@ function MathLog10(x) {
var y = k + i;
x = %_ConstructDouble(hx, lx);
- var z = y * LOG10_2LO + IVLN10 * %_MathLogRT(x);
+ var z = y * LOG10_2LO + IVLN10 * %math_log(x);
return z + y * LOG10_2HI;
}

Powered by Google App Engine
This is Rietveld 408576698