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; |
} |