Skip to content

Commit

Permalink
Refactor float casting tests
Browse files Browse the repository at this point in the history
This is an attempt to remove the magic from a lot of the numbers tested,
which should make things easier when it is time to add `f16` and `f128`.
A nice side effect is that these tests now cover all int <-> float
conversions with the same amount of tests.

Co-authored-by: Ralf Jung <post@ralfj.de>
  • Loading branch information
tgross35 and RalfJung committed Jul 4, 2024
1 parent 3b34c58 commit f439ca5
Showing 1 changed file with 387 additions and 185 deletions.
Loading

0 comments on commit f439ca5

Please sign in to comment.