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

Unified Diff: test/cctest/test-strtod.cc

Issue 3870003: Revert "Strtod fast-case that uses DiyFps and cached powers of ten." (Closed)
Patch Set: Created 10 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 | « src/strtod.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-strtod.cc
diff --git a/test/cctest/test-strtod.cc b/test/cctest/test-strtod.cc
index d8da168f2c628ac074e0dcbaaae14cbdcba8bb93..ae1c00d36e13910f39766417de961bf50d09e7fa 100644
--- a/test/cctest/test-strtod.cc
+++ b/test/cctest/test-strtod.cc
@@ -204,49 +204,4 @@ TEST(Strtod) {
// the floating-point stack is set to 80bits and the double-rounding
// introduces an error.
CHECK_EQ(89255e-22, StrtodChar("89255", -22));
- CHECK_EQ(104110013277974872254e-225,
- StrtodChar("104110013277974872254", -225));
-
- CHECK_EQ(123456789e108, StrtodChar("123456789", 108));
- CHECK_EQ(123456789e109, StrtodChar("123456789", 109));
- CHECK_EQ(123456789e110, StrtodChar("123456789", 110));
- CHECK_EQ(123456789e111, StrtodChar("123456789", 111));
- CHECK_EQ(123456789e112, StrtodChar("123456789", 112));
- CHECK_EQ(123456789e113, StrtodChar("123456789", 113));
- CHECK_EQ(123456789e114, StrtodChar("123456789", 114));
- CHECK_EQ(123456789e115, StrtodChar("123456789", 115));
-
- CHECK_EQ(1234567890123456789012345e108,
- StrtodChar("1234567890123456789012345", 108));
- CHECK_EQ(1234567890123456789012345e109,
- StrtodChar("1234567890123456789012345", 109));
- CHECK_EQ(1234567890123456789012345e110,
- StrtodChar("1234567890123456789012345", 110));
- CHECK_EQ(1234567890123456789012345e111,
- StrtodChar("1234567890123456789012345", 111));
- CHECK_EQ(1234567890123456789012345e112,
- StrtodChar("1234567890123456789012345", 112));
- CHECK_EQ(1234567890123456789012345e113,
- StrtodChar("1234567890123456789012345", 113));
- CHECK_EQ(1234567890123456789012345e114,
- StrtodChar("1234567890123456789012345", 114));
- CHECK_EQ(1234567890123456789012345e115,
- StrtodChar("1234567890123456789012345", 115));
-
- CHECK_EQ(1234567890123456789052345e108,
- StrtodChar("1234567890123456789052345", 108));
- CHECK_EQ(1234567890123456789052345e109,
- StrtodChar("1234567890123456789052345", 109));
- CHECK_EQ(1234567890123456789052345e110,
- StrtodChar("1234567890123456789052345", 110));
- CHECK_EQ(1234567890123456789052345e111,
- StrtodChar("1234567890123456789052345", 111));
- CHECK_EQ(1234567890123456789052345e112,
- StrtodChar("1234567890123456789052345", 112));
- CHECK_EQ(1234567890123456789052345e113,
- StrtodChar("1234567890123456789052345", 113));
- CHECK_EQ(1234567890123456789052345e114,
- StrtodChar("1234567890123456789052345", 114));
- CHECK_EQ(1234567890123456789052345e115,
- StrtodChar("1234567890123456789052345", 115));
}
« no previous file with comments | « src/strtod.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698