Implement fixed precision

This commit is contained in:
Victor Zverovich
2019-02-22 10:47:27 -10:00
parent 187bd1b8b2
commit 8af651be39
4 changed files with 68 additions and 48 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ TEST(FPTest, GetCachedPower) {
TEST(FPTest, Grisu2FormatCompilesWithNonIEEEDouble) {
fmt::memory_buffer buf;
int exp = 0;
grisu2_format(4.2f, buf, fmt::core_format_specs(), exp);
grisu2_format(4.2f, buf, -1, exp);
}
template <typename T> struct ValueExtractor : fmt::internal::function<T> {