rust/library/core/src/num
Nilstrieb f6b4080592
Rollup merge of #121241 - reitermarkus:generic-nonzero-traits, r=dtolnay
Implement `NonZero` traits generically.

Tracking issue: https://github.com/rust-lang/rust/issues/120257

r? ````@dtolnay````
2024-02-20 15:13:52 +01: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 Add #[inline] to functions that are never called 2023-05-07 12:41:37 +01:00
f32.rs diagnostic items for legacy numeric constants 2024-02-18 12:08:16 -07:00
f64.rs diagnostic items for legacy numeric constants 2024-02-18 12:08:16 -07: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 diagnostic items for legacy numeric constants 2024-02-18 12:08:16 -07:00
mod.rs Switch NonZero alias direction. 2024-01-27 16:38:57 +01:00
nonzero.rs Implement NonZero traits generically. 2024-02-17 21:58:56 +01: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 doc: panicking division by zero examples for unsigned strict div ops 2024-02-15 18:41:30 +01:00
wrapping.rs [clippy] Use symbols intended for arithmetic_side_effects 2023-09-01 10:28:55 +02:00