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

Integer division? #57

Open
yav opened this issue Feb 15, 2019 · 0 comments
Open

Integer division? #57

yav opened this issue Feb 15, 2019 · 0 comments

Comments

@yav
Copy link

yav commented Feb 15, 2019

Is there a function to perform euclidian integer division (like div from SMTLIB) in Sally? I can't seem to find one.

It looks like the / operator works on integers, but only if the division is exact, and otherwise things get in an inconsistent state where anything can be proved. This can be quite confusing, and it would be nicer if it was a type error to use / on an integer.

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