Handle negative exponent and rename value/pow10 to numerator/denominator

This commit is contained in:
Victor Zverovich committed 2019-10-13 12:50:48 -07:00
1 parent f7a5748fd3
commit 1cbc5fa6cb
4 files changed
+127 -67

No files matched your search

+1 -1
View File
@@ -1111,7 +1111,7 @@ It grisu_prettify(const char* digits, int size, int exp, It it,
}
namespace grisu_options {
enum { fixed = 1, grisu3 = 2 };
enum { fixed = 1, grisu2 = 2 };
}
// Formats value using the Grisu algorithm: