rust/library/core/benches/num
Chai T. Rex 0cac915211 Improve `isqrt` tests and add benchmarks
* Choose test inputs more thoroughly and systematically.
* Check that `isqrt` and `checked_isqrt` have equivalent results for
  signed types, either equivalent numerically or equivalent as a panic
  and a `None`.
* Check that `isqrt` has numerically-equivalent results for unsigned
  types and their `NonZero` counterparts.
* Reuse `ilog10` benchmarks, plus benchmarks that use a uniform
  distribution.
2024-08-28 23:06:54 -04:00
..
dec2flt fix more benchmark test with black_box 2023-02-21 03:26:40 +00:00
flt2dec Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
int_log checked_ilog: add benchmarks 2023-09-22 16:03:14 +02:00
int_pow Reduced amount of int_pow benches 2024-01-11 14:00:01 -05:00
int_sqrt Improve `isqrt` tests and add benchmarks 2024-08-28 23:06:54 -04:00
mod.rs Improve `isqrt` tests and add benchmarks 2024-08-28 23:06:54 -04:00