diff options
| author | Chai T. Rex <ChaiTRex@users.noreply.github.com> | 2024-08-26 01:34:25 -0400 |
|---|---|---|
| committer | Chai T. Rex <ChaiTRex@users.noreply.github.com> | 2024-08-28 23:06:54 -0400 |
| commit | 0cac9152116b5b4e4c5f84a05e0ceb20dc325a0c (patch) | |
| tree | 12940e47527f4794730e791098a65cad16b977fa /compiler/rustc_interface/src | |
| parent | bf662eb80838008acabc307dd64d84935ce3a20d (diff) | |
| download | rust-0cac9152116b5b4e4c5f84a05e0ceb20dc325a0c.tar.gz rust-0cac9152116b5b4e4c5f84a05e0ceb20dc325a0c.zip | |
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.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
