Index: test/cctest/test-strtod.cc |
diff --git a/test/cctest/test-strtod.cc b/test/cctest/test-strtod.cc |
index d71d126b48d064f76865526a2557147f0302958e..f5547dbc0326bb6a6a9f4318df067a764e9719ab 100644 |
--- a/test/cctest/test-strtod.cc |
+++ b/test/cctest/test-strtod.cc |
@@ -259,6 +259,23 @@ TEST(Strtod) { |
CHECK_EQ(1234567890123456789052345e115, |
StrtodChar("1234567890123456789052345", 115)); |
+ CHECK_EQ(5.445618932859895e-255, |
+ StrtodChar("5445618932859895362967233318697132813618813095743952975" |
+ "4392982234069699615600475529427176366709107287468930197" |
+ "8628345413991790019316974825934906752493984055268219809" |
+ "5012176093045431437495773903922425632551857520884625114" |
+ "6241265881735209066709685420744388526014389929047617597" |
+ "0302268848374508109029268898695825171158085457567481507" |
+ "4162979705098246243690189880319928315307816832576838178" |
+ "2563074014542859888710209237525873301724479666744537857" |
+ "9026553346649664045621387124193095870305991178772256504" |
+ "4368663670643970181259143319016472430928902201239474588" |
+ "1392338901353291306607057623202353588698746085415097902" |
+ "6640064319118728664842287477491068264828851624402189317" |
+ "2769161449825765517353755844373640588822904791244190695" |
+ "2998382932630754670573838138825217065450843010498555058" |
+ "88186560731", -1035)); |
+ |
// Boundary cases. Boundaries themselves should round to even. |
// |
// 0x1FFFFFFFFFFFF * 2^3 = 72057594037927928 |