Skip to content
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

transitive comparison of floats and rationals #3110

Merged
merged 4 commits into from
May 15, 2013

Conversation

StefanKarpinski
Copy link
Sponsor Member

Closes #3102.

This is a fairly insane way to do this, but it works robustly. Even
works for Rational{BigInt}, which I really need to add checks for,
along with all the other functionality.

Temporarily disable some tests in test/numbers.jl until I can sort
out what they ought to check, if anything.
@StefanKarpinski
Copy link
Sponsor Member Author

I think this change is a positive one, but it's fairly substantial so I'd like some feedback.

@JeffBezanson
Copy link
Sponsor Member

I'm all in favor. I can't certify that it's 100% right but I don't see any problems yet either.

StefanKarpinski added a commit that referenced this pull request May 15, 2013
transitive comparison of floats and rationals
@StefanKarpinski StefanKarpinski merged commit 635997a into master May 15, 2013
@StefanKarpinski StefanKarpinski deleted the sk/float-rational-cmp branch November 16, 2013 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

float-rational == is not transitive
2 participants