-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 rational vs float comparisons (attempt 2) #9198
Conversation
I guess I had better read this carefully but it looks pretty good at first impression. |
de7129a
to
dc5648b
Compare
Linux and Win64 CI failures were unrelated, but Win32 looks like a legit issue:
|
It appears to be an existing bug in |
dc5648b
to
f83eacd
Compare
Okay, hopefully that fixes it. I've also added some extra tests to check |
That worked on appveyor. I have no idea what's wrong with Linux Travis, I think someone will need to spend some time in a docker container or VM of Ubuntu 12.04 to try to reproduce whatever's happening there. |
I've managed to get an Ubuntu 12.04 VM running, but I get different errors on the tests:
|
I also get a different on on
but I can at least comment that one out. |
I don't know why that worked, all I did was rebase. But it seems good to go. |
Looks like you did fix the original problem in |
I've just added an extra patch that should also fix |
Bump? |
fix rational vs float comparisons (attempt 2)
This fixes
FloatingPoint
vsRational
inequality comparisons (see #2960 and #8411), replacing #8463: unlike that attempt, it doesn't try to completely modify the whole dispatch system, so is much simpler, and less likely to break anything.After this, the only remaining possibly inexact comparisons should be
Rational
vsMathConst
.