Files
rust/library
Jacob Pratt 4ef3577b34 Rollup merge of #161250 - okaneco:nan_to, r=clarfonthey
core/num: Implement feature `float_nan_to`

Accepted ACP: https://github.com/rust-lang/libs-team/issues/787
Tracking issue: https://github.com/rust-lang/rust/issues/161248

Add function `nan_to` on `f16`, `f32`, `f64`, `f128` which replaces NaN values with a user-specified value or returns the original value if it is not a NaN.

---

No LLM use.
2026-08-17 23:26:55 -04:00
..
…
2026-08-17 02:50:54 +00:00