-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement cancel_minus
and cancel_plus
#76
Conversation
Pull Request Test Coverage Report for Build 1906105179
💛 - Coveralls |
62b4ce1
to
4023bf5
Compare
BTW, given your understanding of the IEEE standard, what should the value of |
(I'm asking in part because IntervalArithmetic.jl disagrees with me. Have not had time to check libieeep1788 yet.) |
95a717d
to
8d2d49c
Compare
(Well, I cloned libieeep1788 and tried to compile it but I got errors. Not sure to pursue it much further.) |
I agree with you. To be clear, let me explain my understanding.
Then,
|
I haven't understood the code thoroughly yet, but I wonder why |
The idea of the code is to (first) compare the widths of the intervals |
Oops, I thought that |
Just renamed |
I documented the |
I have added further annotations to the code. Could you take a look and “merge” it if it is OK? https://gist.github.com/unageek/0dda441af9dcc782f4bd7d19a05aab52 |
I also have decided to apply |
I have incorporated your comments. I sometimes felt they were a bit redundant to the code but, if they helped you, they may also help others so I left all of them. |
LGTM! Thank you very much! |
Implement
cancel_minus
andcancel_plus
. It passes the tests (at least onx86_64
). Maybe there is a better implementation but at least it is a basis for discussion.Depends on unageek/ITF1788#1