rust/library/std
Matthias Krüger 364b20e5f8
Rollup merge of #149593 - RalfJung:pow-nondet, r=Amanieu
powf, powi: point out SNaN non-determinism

The non-determinism has two sources:
- LLVM reserves the right to treat signaling NaNs as-if they were quiet, so it may fold `powf(x, 0)` to `1` even if `x` might be a signaling NaN.
- Some libm `pow` implementations (e.g. the one in musl) don't implement the signaling NaN special-case. See https://rust.godbolt.org/z/chsbv5v4d.

Cc `@tgross35` `@Amanieu`
2025-12-04 16:07:54 +01:00
..
benches benchmark path.components() iteration 2025-10-25 14:46:58 +02:00
src Rollup merge of #149593 - RalfJung:pow-nondet, r=Amanieu 2025-12-04 16:07:54 +01:00
tests fix 2025-11-27 17:55:34 +07:00
build.rs Add Motor OS std library port 2025-10-08 08:57:58 -07:00
Cargo.toml library: upgrade to hashbrown v0.16.1 2025-11-20 11:12:31 -08:00