We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c511ce3 + 1329cde commit 7e68aa0Copy full SHA for 7e68aa0
test/unittest/readertest.cpp
@@ -245,6 +245,7 @@ static void TestParseDouble() {
245
TEST_DOUBLE(fullPrecision, "1e-21474836311", 0.0);
246
TEST_DOUBLE(fullPrecision, "1.00000000001e-2147483638", 0.0);
247
TEST_DOUBLE(fullPrecision, "0.017976931348623157e+310", 1.7976931348623157e+308); // Max double in another form
248
+ TEST_DOUBLE(fullPrecision, "128.74836467836484838364836483643636483648e-336", 0.0); // Issue #1251
249
250
// Since
251
// abs((2^-1022 - 2^-1074) - 2.2250738585072012e-308) = 3.109754131239141401123495768877590405345064751974375599... x 10^-324
0 commit comments