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

uint256 improvements #797

Merged
merged 11 commits into from
May 4, 2018

Conversation

jacqueswww
Copy link
Contributor

@jacqueswww jacqueswww commented Apr 30, 2018

- What I did

Implements #764. uint256 improvements.

- How I did it

- How to verify it

- Description for the changelog

- Cute Animal Picture

vyper/utils.py Outdated
@@ -90,6 +90,7 @@ class SizeLimits:
MINNUM = -2**127
MAXDECIMAL = (2**127 - 1) * DECIMAL_DIVISOR
MINDECIMAL = (-2**127) * DECIMAL_DIVISOR
MAX_UINT256 = 2**256
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Max is 2**256-1

- Adds checks for assignment of uint256 literals.
@jacqueswww jacqueswww merged commit b5300f6 into vyperlang:master May 4, 2018
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

Successfully merging this pull request may close these issues.

2 participants