mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-29 00:35:03 +00:00
Fix sign mismatch
This commit is contained in:
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user