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

JS evaluate mod on negative numbers wrong #8

Open
d1m0 opened this issue May 19, 2017 · 0 comments
Open

JS evaluate mod on negative numbers wrong #8

d1m0 opened this issue May 19, 2017 · 0 comments

Comments

@d1m0
Copy link
Contributor

d1m0 commented May 19, 2017

JS semantics differ from boogie, z3, and sanity when evaluating (-1 mod *). For example
(-1 mod 3) evaluates to -1 in JS, and to 2 in boogie/z3. This is a big problem for mod levels. May need a different evaluation scheme in the frontend

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

No branches or pull requests

1 participant