rust/library/core/src/num
Matthias Krüger 1b0e46f8a0
Rollup merge of #123226 - scottmcm:u32-shifts, r=WaffleLapkin
De-LLVM the unchecked shifts [MCP#693]

This is just one part of the MCP (https://github.com/rust-lang/compiler-team/issues/693), but it's the one that IMHO removes the most noise from the standard library code.

Seems net simpler this way, since MIR already supported heterogeneous shifts anyway, and thus it's not more work for backends than before.

r? WaffleLapkin
2024-04-02 21:22:01 +02:00
..
dec2flt explain why we can mutate the FPU control word 2023-08-14 16:10:56 +02:00
flt2dec Add shortcut for Grisu3 algorithm. 2023-04-25 11:34:57 +08:00
shells diagnostic items for legacy numeric constants 2024-02-18 12:08:16 -07:00
bignum.rs Rename integer log* methods to ilog* 2022-08-09 10:20:49 -07:00
diy_float.rs Fix assert in diy_float 2021-07-27 16:02:35 -04:00
error.rs Make {integer}::from_str_radix constant 2024-03-30 12:43:58 +00:00
f32.rs step cfgs 2024-03-20 08:49:13 -04:00
f64.rs step cfgs 2024-03-20 08:49:13 -04:00
fmt.rs Fix a bunch of typos 2021-12-14 16:40:43 +01:00
int_log10.rs Have a function for the log(0) panic, rather than copy-pasting the string constant 2023-02-10 12:50:17 -08:00
int_macros.rs Rollup merge of #123226 - scottmcm:u32-shifts, r=WaffleLapkin 2024-04-02 21:22:01 +02:00
mod.rs Rollup merge of #123226 - scottmcm:u32-shifts, r=WaffleLapkin 2024-04-02 21:22:01 +02:00
nonzero.rs Make {integer}::from_str_radix constant 2024-03-30 12:43:58 +00:00
overflow_panic.rs reword panic comments and add spaces to unlikely branches 2023-11-28 08:34:55 -08:00
saturating.rs Bump to latest beta 2023-10-08 19:57:43 -04:00
uint_macros.rs Rollup merge of #123226 - scottmcm:u32-shifts, r=WaffleLapkin 2024-04-02 21:22:01 +02:00
wrapping.rs [clippy] Use symbols intended for arithmetic_side_effects 2023-09-01 10:28:55 +02:00