rust/library/core
Jubilee 52913653dd
Rollup merge of #131304 - RalfJung:float-core, r=tgross35
float types: move copysign, abs, signum to libcore

These operations are explicitly specified to act "bitwise", i.e. they just act on the sign bit and do not even quiet signaling NaNs. We also list them as ["non-arithmetic operations"](https://doc.rust-lang.org/nightly/std/primitive.f32.html#nan-bit-patterns), and all the other non-arithmetic operations are in libcore. There's no reason to expect them to require any sort of runtime support, and from [these experiments](https://github.com/rust-lang/rust/issues/50145#issuecomment-997301250) it seems like LLVM indeed compiles them in a way that does not require any sort of runtime support.

Nominating for `@rust-lang/libs-api` since this change takes immediate effect on stable.

Part of https://github.com/rust-lang/rust/issues/50145.
2024-11-13 22:43:35 -08:00
..
benches Stabilize isqrt feature 2024-10-08 10:58:49 -04:00
src Rollup merge of #131304 - RalfJung:float-core, r=tgross35 2024-11-13 22:43:35 -08:00
tests stabilize const_option_ext 2024-11-12 21:42:15 +01:00
Cargo.toml Port std library to RTEMS 2024-09-03 09:19:29 +02:00