Index: src/bignum-dtoa.cc |
diff --git a/src/bignum-dtoa.cc b/src/bignum-dtoa.cc |
index c5ad4420c81f428c5b77413bcae0a7fb66f86f96..2b91122af52e0d365c233d78460d41830c26e2ea 100644 |
--- a/src/bignum-dtoa.cc |
+++ b/src/bignum-dtoa.cc |
@@ -394,7 +394,8 @@ static int EstimatePower(int exponent) { |
// For doubles len(f) == 53 (don't forget the hidden bit). |
const int kSignificandSize = 53; |
- double estimate = ceil((exponent + kSignificandSize - 1) * k1Log10 - 1e-10); |
+ double estimate = |
+ std::ceil((exponent + kSignificandSize - 1) * k1Log10 - 1e-10); |
return static_cast<int>(estimate); |
} |