mirror of
https://github.com/fmtlib/fmt.git
synced 2025-10-28 20:51:42 +01:00
Use grisu for fixed precision
This commit is contained in:
@@ -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