rust/library/coretests
bors 73e6c9ebd9 Auto merge of #147784 - nxsaken:div_exact_return_option, r=dtolnay
Return `Option` from `exact_div` and inherit overflow checks

According to https://github.com/rust-lang/rust/issues/139911#issuecomment-3404056127, `exact_div` should return `Option::None` if `self % rhs != 0`, panic if `rhs == 0`, and handle overflow conditionally (panic in debug, wrap in release).

rust-lang/rust#147771 should rename `exact_div` to `div_exact`.
2025-11-02 08:05:11 +00:00
..
benches benchmarks for exponent fmt of integers 2025-08-22 17:40:48 +02:00
tests Auto merge of #147784 - nxsaken:div_exact_return_option, r=dtolnay 2025-11-02 08:05:11 +00: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