mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-29 18:27:40 +02:00
Fix sign mismatch
This commit is contained in:
committed by
Victor Zverovich
parent
1f0600a23b
commit
2d9b1dd0ad
@ -2122,7 +2122,7 @@ template <> struct cache_accessor<double> {
|
||||
|
||||
// Get error
|
||||
int error_idx = (k - float_info<double>::min_k) / 16;
|
||||
int error = (data::dragonbox_pow10_recovery_errors[error_idx] >>
|
||||
uint32_t error = (data::dragonbox_pow10_recovery_errors[error_idx] >>
|
||||
((k - float_info<double>::min_k) % 16) * 2) &
|
||||
0x3;
|
||||
|
||||
|
Reference in New Issue
Block a user