Use grisu for fixed precision
This commit is contained in:
1 parent
327d4b6e9e
commit
a97757736b
4 files changed
+17
-10
No files matched your search
@@ -103,7 +103,7 @@ TEST(FPTest, GetCachedPower) {
|
||||
TEST(FPTest, Grisu2FormatCompilesWithNonIEEEDouble) {
|
||||
fmt::memory_buffer buf;
|
||||
int exp = 0;
|
||||
grisu2_format(4.2f, buf, -1, exp);
|
||||
grisu2_format(4.2f, buf, -1, false, exp);
|
||||
}
|
||||
|
||||
template <typename T> struct ValueExtractor : fmt::internal::function<T> {
|
||||
|
||||
Reference in new issue
Block a user