]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #100578 - Urgau:float-next-up-down, r=scottmcm
authorbors <bors@rust-lang.org>
Sun, 28 Aug 2022 22:31:19 +0000 (22:31 +0000)
committerbors <bors@rust-lang.org>
Sun, 28 Aug 2022 22:31:19 +0000 (22:31 +0000)
commit1ea4efd0656599f824e2567a5b7a95454f701c03
tree41a7588dfa4aafc000b5afdf157a46777fff9a8a
parentce36e88256f09078519f8bc6b21e4dc88f88f523
parent3f10e6c86d9d602a821b3156266978c33a214965
Auto merge of #100578 - Urgau:float-next-up-down, r=scottmcm

Add next_up and next_down for f32/f64 - take 2

This is a revival of https://github.com/rust-lang/rust/pull/88728 which staled due to inactivity of the original author. I've address the last review comment.

---

This is a pull request implementing the features described at https://github.com/rust-lang/rfcs/pull/3173.

`@rustbot` label +T-libs-api -T-libs
r? `@scottmcm`
cc `@orlp`
library/core/src/num/f32.rs
library/core/src/num/f64.rs
library/std/src/lib.rs