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 arithmetic operators #19

Open
ReedOei opened this issue Jan 19, 2021 · 0 comments
Open

Add arithmetic operators #19

ReedOei opened this issue Jan 19, 2021 · 0 comments

Comments

@ReedOei
Copy link
Owner

ReedOei commented Jan 19, 2021

These should work on any type whose underlying type is uint256. They will implicitly demote. We should support +, -, *, and /, with their usual semantics (/ always rounds down). Once added, we should support < and > in conditions as well.

This is of somewhat lesser importance, as it is not part of the core language.

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