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

Add modulus operator (%) #14

Open
shoooe opened this issue Jan 10, 2015 · 2 comments
Open

Add modulus operator (%) #14

shoooe opened this issue Jan 10, 2015 · 2 comments
Labels

Comments

@shoooe
Copy link
Owner

shoooe commented Jan 10, 2015

Add modulus operator (%)

@shoooe shoooe self-assigned this Jan 10, 2015
@shoooe
Copy link
Owner Author

shoooe commented Apr 26, 2015

This is actually very interesting. Modulus cannot be represented with out current (domain is only between 1 range of values). For example:

x : [18, 23]
y : [16, 19]
x % y : [0, 7] U [18, 18]

So this means that we have to be able to specify domains with multiple ranges, before going forward.

@shoooe
Copy link
Owner Author

shoooe commented Apr 26, 2015

Oh and multiple ranges have this very nice effect:

x : [0, 10] ∪ [15, 15]
y : [45, 52] ∪ [67, 90]
x * y : [0, 520] ∪ [675, 780] ∪ [0, 900] ∪ [1005, 1350]

@shoooe shoooe removed their assignment Mar 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant