Handle negative exponent and nonnegative power

This commit is contained in:
Victor Zverovich
2019-10-13 13:16:09 -07:00
parent 1cbc5fa6cb
commit a5abe5d95c
2 changed files with 12 additions and 5 deletions

View File

@@ -63,4 +63,5 @@ TEST(GrisuTest, Fallback) {
fmt::format("{}", 5.423717798060526e+125));
EXPECT_EQ("1.372371880954233e-288",
fmt::format("{}", 1.372371880954233e-288));
EXPECT_EQ("55388492.622190244", fmt::format("{}", 55388492.622190244));
}