Files
rust/library/core/tests/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
..
2023-04-10 21:57:45 +02:00
2024-07-29 08:26:52 +10:00
2022-01-10 14:18:28 -08:00
2023-04-16 11:38:52 +00:00
2024-08-28 23:06:54 -04:00
2022-04-18 23:28:06 +02:00
2022-10-07 18:08:49 +02:00