rust/library/coretests/tests/num
Matthias Krüger 8fe12253f7
Rollup merge of #149539 - quaternic:gather-scatter-bits, r=Mark-Simulacrum
Additional test for uN::{gather,scatter}_bits

Feature gate: #![feature(uint_gather_scatter_bits)]
Tracking issue: https://github.com/rust-lang/rust/issues/149069
Accepted ACP: https://github.com/rust-lang/libs-team/issues/695#issuecomment-3549284861

Adds an additional runtime test for `uN::gather_bits` and `uN::scatter_bits` in coretests. They are each other's inverses in a sense, so a shared test can test both with relative ease.

I plan to follow up with optimized implementations for these functions.
2025-12-04 08:46:22 +01:00
..
dec2flt coretests/num: use ldexp instead of hard-coding a power of 2 2025-07-23 16:33:58 +02:00
flt2dec coretests/num: use ldexp instead of hard-coding a power of 2 2025-07-23 16:33:58 +02:00
bignum.rs remove unsused div_rem method from bignum 2025-09-07 17:21:47 +00:00
clamp_magnitude.rs Implement clamp_magnitude for floats & signed integers 2025-12-01 17:04:25 +11:00
const_from.rs Clean up some resolved test regressions of const trait removals in std 2025-08-08 00:58:54 +09:00
float_iter_sum_identity.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
i8.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
i16.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
i32.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
i64.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
i128.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
ieee754.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
int_log.rs checked_ilog tests: deal with a bit of float imprecision 2025-02-27 15:38:22 +01:00
int_macros.rs Rename {i,u}N::*exact_div to *div_exact 2025-11-02 16:34:36 +04:00
int_sqrt.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
midpoint.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
mod.rs Improve core::num coverage 2025-09-12 14:35:20 -05:00
nan.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
niche_types.rs Make NonZero<char> possible 2025-06-07 11:40:49 +00:00
ops.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
u8.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
u16.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
u32.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
u64.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
u128.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
uint_macros.rs reorganize test contents and adjust generated inputs to reduce iterations 2025-12-03 10:08:29 +02:00
wrapping.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00