rust/library/core/src/num
Matthias Krüger 4428d6f363
Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-dead
some const cleanup: remove unnecessary attributes, add const-hack indications

I learned that we use `FIXME(const-hack)` on top of the "const-hack" label. That seems much better since it marks the right place in the code and moves around with the code. So I went through the PRs with that label and added appropriate FIXMEs in the code. IMO this means we can then remove the label -- Cc ``@rust-lang/wg-const-eval.``

I also noticed some const stability attributes that don't do anything useful, and removed them.

r? ``@fee1-dead``
2024-09-12 19:03:41 +02:00
..
dec2flt Reformat use declarations. 2024-07-29 08:26:52 +10:00
flt2dec Remove unnecessary constants from flt2dec dragon 2024-08-03 08:49:38 -07:00
shells diagnostic items for legacy numeric constants 2024-02-18 12:08:16 -07:00
bignum.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
diy_float.rs Fix assert in diy_float 2021-07-27 16:02:35 -04:00
error.rs replace placeholder version 2024-09-03 20:54:02 +01:00
f16.rs clean up internal comments about float semantics 2024-09-10 16:47:09 -07:00
f32.rs clean up internal comments about float semantics 2024-09-10 16:47:09 -07:00
f64.rs clean up internal comments about float semantics 2024-09-10 16:47:09 -07:00
f128.rs stabilize const_float_bits_conv 2024-09-01 12:38:59 +02: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 better implementation of signed div_floor/ceil 2024-09-05 22:50:41 +02:00
int_sqrt.rs Speed up checked_isqrt and isqrt methods 2024-08-28 23:07:04 -04:00
mod.rs add FIXME(const-hack) 2024-09-08 23:08:40 +02:00
nonzero.rs Speed up checked_isqrt and isqrt methods 2024-08-28 23:07:04 -04:00
overflow_panic.rs reword panic comments and add spaces to unlikely branches 2023-11-28 08:34:55 -08:00
saturating.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
uint_macros.rs Speed up checked_isqrt and isqrt methods 2024-08-28 23:07:04 -04:00
wrapping.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00