Skip to content

Commit ddcb02d

Browse files
committed
Move 0.5 rounding to a compat note
1 parent 43c18e9 commit ddcb02d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

RELEASES.md

+3
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ These APIs are now stable in const contexts:
7171
Compatibility Notes
7272
-------------------
7373

74+
- [0.5 now rounds to 0 when formatted to 0 decimal places.](https://github.com/rust-lang/rust/pull/102935/)
75+
This makes it consistent with the rest of floating point formatting that
76+
rounds ties toward even digits.
7477
- [Chains of `&&` and `||` will now drop temporaries from their sub-expressions in
7578
evaluation order, left-to-right.](https://github.com/rust-lang/rust/pull/103293/)
7679
Previously, it was "twisted" such that the _first_ expression dropped its

0 commit comments

Comments
 (0)