update fmtlib version 7.1.1 to 7.1.2

This commit is contained in:
Axel Kohlmeyer
2020-11-04 10:54:20 -05:00
parent 7020418589
commit 3ea395615a
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#include <vector>
// The fmt library version in the form major * 10000 + minor * 100 + patch.
#define FMT_VERSION 70101
#define FMT_VERSION 70102
#ifdef __clang__
# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)

View File

@ -2337,7 +2337,7 @@ void fallback_format(Double d, int num_digits, bool binary32, buffer<char>& buf,
upper = &upper_store;
}
denominator.assign_pow10(exp10);
denominator <<= 1;
denominator <<= shift;
} else if (exp10 < 0) {
numerator.assign_pow10(-exp10);
lower.assign(numerator);