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

Unified Diff: Source/wtf/dtoa.cpp

Issue 48663004: Fix more warnings in wtf (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix more warnings in wtf. Created 7 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
« no previous file with comments | « Source/wtf/TCSystemAlloc.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/dtoa.cpp
diff --git a/Source/wtf/dtoa.cpp b/Source/wtf/dtoa.cpp
index 41d1ae5f71afd149b6df0f7794c01abe109e0dac..e5177b6c6b68df3f0e694dcf6e00d64713225cb3 100644
--- a/Source/wtf/dtoa.cpp
+++ b/Source/wtf/dtoa.cpp
@@ -603,13 +603,7 @@ static const double tens[] = {
};
static const double bigtens[] = { 1e16, 1e32, 1e64, 1e128, 1e256 };
-static const double tinytens[] = { 1e-16, 1e-32, 1e-64, 1e-128,
- 9007199254740992. * 9007199254740992.e-256
- /* = 2^106 * 1e-256 */
-};
-/* The factor of 2^53 in tinytens[4] helps us avoid setting the underflow */
-/* flag unnecessarily. It leads to a song and dance at the end of strtod. */
#define Scale_Bit 0x10
Nico 2013/10/31 21:03:40 Scale_Bit can go too, right?
lgombos 2013/10/31 21:07:08 Yep, indeed, but it does not seems to cause me any
#define n_bigtens 5
« no previous file with comments | « Source/wtf/TCSystemAlloc.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698