diff options
author | 2016-03-08 11:39:25 +0100 | |
---|---|---|
committer | 2016-03-08 12:58:10 +0100 | |
commit | 1f352c6af853e5cb0dc06ea6596be77db953a9fd (patch) | |
tree | 361bae19c8e605572cafc4a656c19c748c27a9d3 /3rdparty/rapidjson/test/unittest/dtoatest.cpp | |
parent | dfad813239c6c4259040892616f44fbbe260ab73 (diff) |
update rapidjson library (nw)
Diffstat (limited to '3rdparty/rapidjson/test/unittest/dtoatest.cpp')
-rw-r--r-- | 3rdparty/rapidjson/test/unittest/dtoatest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/3rdparty/rapidjson/test/unittest/dtoatest.cpp b/3rdparty/rapidjson/test/unittest/dtoatest.cpp index da020957211..fe28271f976 100644 --- a/3rdparty/rapidjson/test/unittest/dtoatest.cpp +++ b/3rdparty/rapidjson/test/unittest/dtoatest.cpp @@ -81,6 +81,12 @@ TEST(dtoa, maxDecimalPlaces) { TEST_DTOA(3, 2.225073858507201e-308, "0.0"); // Max subnormal positive double TEST_DTOA(3, 2.2250738585072014e-308, "0.0"); // Min normal positive double TEST_DTOA(3, 1.7976931348623157e308, "1.7976931348623157e308"); // Max double + TEST_DTOA(5, -0.14000000000000001, "-0.14"); + TEST_DTOA(4, -0.14000000000000001, "-0.14"); + TEST_DTOA(3, -0.14000000000000001, "-0.14"); + TEST_DTOA(3, -0.10000000000000001, "-0.1"); + TEST_DTOA(2, -0.10000000000000001, "-0.1"); + TEST_DTOA(1, -0.10000000000000001, "-0.1"); #undef TEST_DTOA } |