Integrate Grisu and sprintf digit generators

This commit is contained in:
Victor Zverovich
2019-11-23 06:22:30 -08:00
parent 7395472dde
commit 4cf59ce734
4 changed files with 53 additions and 58 deletions
+1 -2
View File
@@ -326,8 +326,7 @@ TEST(FPTest, FixedHandler) {
TEST(FPTest, GrisuFormatCompilesWithNonIEEEDouble) {
fmt::memory_buffer buf;
int exp = 0;
grisu_format(4.2f, -1, buf, fmt::internal::float_spec(), exp);
format_float(0.42, -1, fmt::internal::float_spec(), buf);
}
template <typename T> struct value_extractor {