-
Notifications
You must be signed in to change notification settings - Fork 3
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
Incorrect result for addition with widely-varying floating point numbers #14
Comments
Thanks for the comment ; you are of course correct. I would be very happy if you could submit a pull request to remove the word rigorous, and mainly to help with the actual rigorous implementation! Note that I am the author of the IntervalArithmetic.jl package. Unfortunately the implementation of affine arithmetic was never finished. |
Is this still the case with PR #12? |
With the |
Basically all the tests need to be rewritten into the new form. |
Stating clearly that a rigorous implementation is not present yet. See issue JuliaIntervals#14.
* Update README.md Stating clearly that a rigorous implementation is not present yet. See issue #14. * Update README.md Reword.
The original issue is not yet fixed. |
Should be fixed by #19. |
The front page description states that the package is intended to be a rigorous computational method however the implementation does not reflect this in any shape or form.
See the result of the following statement:
Evaluates to:
⟨0.0; [1.0]⟩
The correct answer:
⟨2020.0; [1.0]⟩
Acceptable answer: affine set containing the result, but overestimating due to limits of floating point arithmetic.
This error is from numeric source, not a software bug. A way to address these kinds of problems and make the package a real rigorous implementation is interval arithmetic. (I saw traces of that, but overall no reliable computation is implemented.)
Until a rigorous implementation is presented, I would highly recommend removing the word rigorous from the description. Maybe stating explicitly, that the current implementation is prone to the everyday numerical errors.
The text was updated successfully, but these errors were encountered: