Handle negative exponent and nonnegative power

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

No files matched your search

+1
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));
}