Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Handling all possible overflows #145

Merged
merged 8 commits into from
Jan 17, 2016
Merged

Handling all possible overflows #145

merged 8 commits into from
Jan 17, 2016

Conversation

tomusdrw
Copy link
Collaborator

No description provided.

},
false => U256::zero()
stack.push(if !self.is_zero(&b) {
let (c, _overflow) = a.overflowing_rem(b);
Copy link
Contributor

Choose a reason for hiding this comment

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

could be written a.overflowing_rem(b).0 and save the ugly one-character next line.

@gavofyork
Copy link
Contributor

minor comments - looksgood otherwise.

@gavofyork gavofyork added the A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. label Jan 17, 2016
@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. labels Jan 17, 2016
@tomusdrw tomusdrw removed the A8-looksgood 🦄 Pull request is reviewed well. label Jan 17, 2016
@gavofyork gavofyork added the A8-looksgood 🦄 Pull request is reviewed well. label Jan 17, 2016
@gavofyork
Copy link
Contributor

haven't done a deep analysis but general code quality looks good.

arkpar added a commit that referenced this pull request Jan 17, 2016
Handling all possible overflows
@arkpar arkpar merged commit 2c0d84e into master Jan 17, 2016
@debris debris deleted the evm branch January 19, 2016 09:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants