Handle negative exponent and rename value/pow10 to numerator/denominator
This commit is contained in:
1 parent
f7a5748fd3
commit
1cbc5fa6cb
4 files changed
+127
-67
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user