rust/library
Matthias Krüger 220251e181
Rollup merge of #133389 - eduardosm:stabilize-const_float_methods, r=RalfJung
Stabilize `const_float_methods`

Tracking issue: https://github.com/rust-lang/rust/issues/130843
Relnotes: #133383

Stabilized const API:

```rust
// in `core`
impl f32/f64 {
    pub const fn recip(self) -> Self;
    pub const fn to_degrees(self) -> Self;
    pub const fn to_radians(self) -> Self;
    pub const fn max(self, other: Self) -> Self;
    pub const fn min(self, other: Self) -> Self;
    pub const fn clamp(self, min: Self, max: Self) -> Self;
    pub const fn abs(self) -> Self;
    pub const fn signum(self) -> Self;
    pub const fn copysign(self, sign: Self) -> Self;
}
```

Closes https://github.com/rust-lang/rust/issues/130843

r? libs-api

cc `@RalfJung` -- I think the way const-stability attributes work have change a bit since the last time a wrote a const-stabilization PR, please make sure I got them right.
2024-11-24 11:08:20 +01:00
..
alloc Auto merge of #132597 - lukas-code:btree-plug-leak, r=jhpratt 2024-11-24 02:08:58 +00:00
backtrace@230570f2da
core Rollup merge of #133389 - eduardosm:stabilize-const_float_methods, r=RalfJung 2024-11-24 11:08:20 +01:00
panic_abort
panic_unwind
portable-simd
proc_macro
profiler_builtins Bump cc 2024-11-13 17:58:02 +00:00
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustc-std-workspace-std
std Rollup merge of #133389 - eduardosm:stabilize-const_float_methods, r=RalfJung 2024-11-24 11:08:20 +01:00
stdarch@e5e00aab0a Bump stdarch to the latest master 2024-11-18 18:52:27 +01:00
sysroot
test Update thread spawn hooks. 2024-11-19 18:54:20 +01:00
unwind
windows_targets
Cargo.lock Auto merge of #132994 - clubby789:cc-bisect, r=Kobzol 2024-11-23 12:15:39 +00:00
Cargo.toml