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
accurate (as possible) fdiv for Fixnum and Bignum #1508
Conversation
Do you have an example that the result changes, or a test case in other words? |
A Fixnum example is,
(due to 2319276427521816828/3325853508004318597r is irreducible, this pattern didn't affect by reducing ) |
Current trunk is:
but yours is:
|
HMM, but it is correctly rounded value as below. I'm thinking more better demonstration...
|
I've found more demonstrable edge case.
How is this ? |
Also in that case, |
It seems to have a conflict now. Could you rebase this from master? |
Let me close this as it has not been updated for a while. Please reopen this after resolving conflicts. Thanks. |
This is an accurate (as possible) fdiv implementation for Fixnum and Bignum.