rust/library/core/src/num
bors 4bdf8d2d58 Auto merge of #126608 - tgross35:f16-f128-library, r=Mark-Simulacrum
Add more constants, functions, and tests for `f16` and `f128`

This adds everything that was in some way blocked on const eval, since https://github.com/rust-lang/rust/pull/126429 landed. There is a lot of `cfg(bootstrap)` since that is a fairly recent change.

`f128` tests are disabled on everything except x86_64 and Linux aarch64, which are two platforms I know have "good" support for these types - meaning basic math symbols are available and LLVM doesn't hit selection crashes. `f16` tests are enabled on almost everything except for known LLVM crashes. Doctests are only enabled on x86_64.

Tracking issue: https://github.com/rust-lang/rust/issues/116909
2024-06-26 12:06:05 +00: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
f16.rs Add more f16 and f128 library functions and constants 2024-06-25 01:32:36 -04:00
f32.rs Reword docs for f32 and f64 2024-06-24 00:42:21 -05:00
f64.rs Reword docs for f32 and f64 2024-06-24 00:42:21 -05:00
f128.rs Add more f16 and f128 library functions and constants 2024-06-25 01:32:36 -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 Stop using unlikely in strict_* methods 2024-06-20 23:58:26 -07:00
mod.rs Small fixme in core now that NonZero is generic 2024-06-24 17:42:08 +03:00
nonzero.rs Remove feature(effects) from the standard library 2024-06-21 09:23:24 +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 Auto merge of #126852 - scottmcm:more-checked-math-tweaks, r=Amanieu 2024-06-25 02:50:37 +00:00
wrapping.rs [clippy] Use symbols intended for arithmetic_side_effects 2023-09-01 10:28:55 +02:00