patching be support. (typo)

This commit is contained in:
Daniel Lemire 2020-11-16 12:56:57 -05:00
parent 7ebbb9d5be
commit 1b5e3f3945

View File

@ -183,6 +183,7 @@ struct decimal {
// initialized to zero when there are fewer than 19. // initialized to zero when there are fewer than 19.
inline uint64_t to_truncated_mantissa() { inline uint64_t to_truncated_mantissa() {
#if FASTFLOAT_IS_BIG_ENDIAN == 1 #if FASTFLOAT_IS_BIG_ENDIAN == 1
uint64_t mantissa = 0;
for (uint32_t i = 0; i < max_digit_without_overflow; for (uint32_t i = 0; i < max_digit_without_overflow;
i++) { i++) {
mantissa = mantissa * 10 + digits[i]; // can be accelerated mantissa = mantissa * 10 + digits[i]; // can be accelerated