mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
26ae47502a
Stabilize `const_mul_add`
Newly stable API:
```rust
impl {f32, f64} {
pub const fn mul_add(self, a: Self, b: Self) -> Self;
}
```
This includes making the intrinsics `fmaf{16,32,64,128}` const stable for indirect use, matching similar intrinsics.
Closes: https://github.com/rust-lang/rust/issues/146724