-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix comparison so that it does not treat positive infinity as equal to negative infinity - Add some tests to check this - For good measure, test to make sure comparisons against NaN also behave as expected (always return false) - Tweak test code style to use Float.Extra.aboutEqual qualified like everything else
- Loading branch information
1 parent
0c6ef46
commit 59a6247
Showing
2 changed files
with
60 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters