mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
patching be support. (typo)
This commit is contained in:
parent
7ebbb9d5be
commit
1b5e3f3945
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user