-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix EqFloat to actually work correctly #1370
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from a random extra semi-colon, this is obviously correct.
tst/testinstall/float.tst
Outdated
@@ -145,6 +145,10 @@ gap> -MakeFloat(1.0, infinity) = neginf; | |||
true | |||
gap> MakeFloat(1.0, -infinity) = neginf; | |||
true | |||
gap> EqFloat(1.0, 1.1); | |||
false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Random extra semicolon here
Codecov Report
@@ Coverage Diff @@
## master #1370 +/- ##
==========================================
- Coverage 61.78% 61.77% -0.01%
==========================================
Files 1034 1034
Lines 356652 356551 -101
Branches 14284 14250 -34
==========================================
- Hits 220345 220253 -92
- Misses 132654 132657 +3
+ Partials 3653 3641 -12
|
Codecov Report
@@ Coverage Diff @@
## master #1370 +/- ##
=======================================
Coverage 61.78% 61.78%
=======================================
Files 1034 1034
Lines 356652 356652
Branches 14284 14283 -1
=======================================
Hits 220345 220345
Misses 132654 132654
Partials 3653 3653
|
All OK, Thanks! |
@laurentbartholdi good point, done! |
This always returned false for machine floats in the past, due to a missing argument.