Move 0.5 rounding to a compat note
This commit is contained in:
parent
43c18e92ea
commit
ddcb02d10a
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,9 @@ These APIs are now stable in const contexts:
|
|||
Compatibility Notes
|
||||
-------------------
|
||||
|
||||
- [0.5 now rounds to 0 when formatted to 0 decimal places.](https://github.com/rust-lang/rust/pull/102935/)
|
||||
This makes it consistent with the rest of floating point formatting that
|
||||
rounds ties toward even digits.
|
||||
- [Chains of `&&` and `||` will now drop temporaries from their sub-expressions in
|
||||
evaluation order, left-to-right.](https://github.com/rust-lang/rust/pull/103293/)
|
||||
Previously, it was "twisted" such that the _first_ expression dropped its
|
||||
|
|
Loading…
Add table
Reference in a new issue