Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorjack_perisich <jackperisich@gmail.com>2021-07-28 02:50:51 +0300
committerjack_perisich <jackperisich@gmail.com>2021-07-28 02:50:51 +0300
commitbb0621108802d7839059cede4dee5daca7205e28 (patch)
treedda67ad543fd0b51810bc9bf72a4cd923907cbc3 /test
parent48fbd8cd202ca54031fe799db2ad44ffa8e77c13 (diff)
Fix small errors in dtoa output for certain doubles
Diffstat (limited to 'test')
-rw-r--r--test/unittest/dtoatest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unittest/dtoatest.cpp b/test/unittest/dtoatest.cpp
index 66576bdf..3ec89828 100644
--- a/test/unittest/dtoatest.cpp
+++ b/test/unittest/dtoatest.cpp
@@ -38,6 +38,7 @@ TEST(dtoa, normal) {
TEST_DTOA(0.123456789012, "0.123456789012");
TEST_DTOA(1234567.8, "1234567.8");
TEST_DTOA(-79.39773355813419, "-79.39773355813419");
+ TEST_DTOA(-36.973846435546875, "-36.973846435546875");
TEST_DTOA(0.000001, "0.000001");
TEST_DTOA(0.0000001, "1e-7");
TEST_DTOA(1e30, "1e30");