]> git.lizzy.rs Git - rust.git/commit
Fix inconsistent rounding of 0.5 when formatted to 0 decimal places
authorAndrew Tribick <ajtribick@googlemail.com>
Tue, 11 Oct 2022 21:09:23 +0000 (23:09 +0200)
committerAndrew Tribick <ajtribick@googlemail.com>
Tue, 11 Oct 2022 21:09:23 +0000 (23:09 +0200)
commit848744403a67965f792d9f0eacb7700d8e325c2f
tree76ee754adeb9d7202f218e5cfa3ac082e67bc455
parentdb0597f5619d5ed93feca28e61226d3581cc7867
Fix inconsistent rounding of 0.5 when formatted to 0 decimal places
library/core/src/num/flt2dec/strategy/dragon.rs
library/core/tests/fmt/float.rs
library/core/tests/num/flt2dec/mod.rs