rust/library/coretests
Matthias Krüger 18fa9ddd77
Rollup merge of #149744 - lemire:main, r=Mark-Simulacrum
test: update duplicate many_digits test to use f64 instead of f32

Replace the f32 test case with an f64 equivalent to improve coverage for parsing large digit counts in double-precision floating-point conversion. Specifically, this PR updates the `many_digits` test in `library/coretests/tests/num/dec2flt/parse.rs` to test f64 (double-precision) parsing instead of f32 (single-precision).

The test verifies that decimal strings with an excessive number of digits (beyond `Decimal::MAX_DIGITS`) are parsed correctly, ensuring proper truncation of insignificant digits. Previously, the same test was repeated twice (see comment https://github.com/rust-lang/rust/pull/86761#issuecomment-3623334228 by `@Viatorus).`

## Changes

- Replaced the duplicated f32 test case with an equivalent f64 test case.
- Updated the expected bit pattern and input string to a very long decimal with many trailing zeros, testing the limits of f64 precision.
2025-12-15 08:08:01 +01:00
..
benches Implement benchmarks for uN::{gather,scatter}_bits 2025-12-03 20:39:51 +02:00
tests Rollup merge of #149744 - lemire:main, r=Mark-Simulacrum 2025-12-15 08:08:01 +01:00
Cargo.toml Move float tests from std to core 2025-05-13 22:22:15 +00:00
lib.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00