rust/library/core/src/num
Matthias Krüger 127fbc8481
Rollup merge of #128749 - tgross35:float-inline, r=scottmcm
Mark `{f32,f64}::{next_up,next_down,midpoint}` inline

Most float functions are marked `#[inline]` so any float symbols used by these functions only need to be provided if the function itself is used. RFL recently noticed that `next_up`, `next_down`, and `midpoint` for `f32` and `f64` are not inline, which causes linker errors when building with certain configurations <https://lore.kernel.org/all/20240806150619.192882-1-ojeda@kernel.org/>.

Add the missing attributes so the symbols should no longer be required.
2024-08-08 18:57:02 +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 stabilize const_int_from_str 2024-07-04 21:27:51 +02:00
f16.rs Update comments for {f16, f32, f64, f128}::midpoint 2024-08-01 15:38:53 -04:00
f32.rs Rollup merge of #128749 - tgross35:float-inline, r=scottmcm 2024-08-08 18:57:02 +02:00
f64.rs Rollup merge of #128749 - tgross35:float-inline, r=scottmcm 2024-08-08 18:57:02 +02:00
f128.rs Update comments for {f16, f32, f64, f128}::midpoint 2024-08-01 15:38:53 -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 #127765 - bitfield:fix_stdlib_doc_nits, r=dtolnay 2024-07-28 20:07:44 +02:00
mod.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
nonzero.rs Reformat use declarations. 2024-07-29 08:26:52 +10: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 Rollup merge of #128103 - folkertdev:unsigned-int-is-multiple-of, r=Amanieu 2024-07-28 20:07:45 +02:00
wrapping.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00