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 wrapping shifts #81

Merged
merged 1 commit into from
Sep 13, 2018
Merged

Add wrapping shifts #81

merged 1 commit into from
Sep 13, 2018

Conversation

edmccard
Copy link
Contributor

@edmccard edmccard commented Sep 2, 2018

Add traits WrappingShl and WrappingShr corresponding to the
standard library wrapping_shl and wrapping_shr methods. Implement
the trait on all primitive integer types as well as on Wrapping.

Add traits `WrappingShl` and `WrappingShr` corresponding to the
standard library `wrapping_shl` and `wrapping_shr` methods. Implement
the trait on all primitive integer types as well as on `Wrapping`.
@cuviper
Copy link
Member

cuviper commented Sep 13, 2018

Looks great, thanks!

bors r+

bors bot added a commit that referenced this pull request Sep 13, 2018
81: Add wrapping shifts r=cuviper a=edmccard

Add traits `WrappingShl` and `WrappingShr` corresponding to the
standard library `wrapping_shl` and `wrapping_shr` methods. Implement
the trait on all primitive integer types as well as on `Wrapping`.

Co-authored-by: Ed McCardell <edmccard@hotmail.com>
@bors
Copy link
Contributor

bors bot commented Sep 13, 2018

Build succeeded

@bors bors bot merged commit abb51f9 into rust-num:master Sep 13, 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.

None yet

2 participants