-
Notifications
You must be signed in to change notification settings - Fork 33
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
Integer division of n/d
where n = [-1, 1], d = -1
yields bottom
#100
Comments
@rmonat, thanks for submitting this issue. I want to add, before the assignment of expression Furthermore, with |
Thanks for the report and sorry for the bug. PR #101 should fix the issue. Could you confirm? After the patch, I get no bottom, and the bounds for expression Note that there is still an imprecision in the result of the assignment |
@antoinemine, thank you for the quick response. I can confirm that it works now. Thanks! |
Thank you @antoinemine for your lightning fast fix! I concur, the abstract state after assignment is correct. As a side note, it seems that |
Originally encountered by @svenkeidel, I'm providing an OCaml MWE.
We found that integer division of
n/d
yields bottom when-1 <= n <= 1
andd = -1
. I have checked the documentation and I am not sure to understand this behavior?MWE:
The text was updated successfully, but these errors were encountered: