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

added BigUint::count_ones(), trailing_ones() #175

Merged
merged 1 commit into from Nov 14, 2020

Conversation

BartMassey
Copy link

@BartMassey BartMassey commented Nov 10, 2020

Added BigUint::count_ones(), BigUint::trailing_ones(). Also minimal tests for these and BigUint::trailing_zeros().

Closes Issue #174

src/biguint.rs Outdated Show resolved Hide resolved
src/biguint.rs Outdated Show resolved Hide resolved
src/biguint.rs Outdated Show resolved Hide resolved
@BartMassey BartMassey changed the title added BigUint::count_ones(), trailing_ones(), significant_bits() added BigUint::count_ones(), trailing_ones() Nov 10, 2020
@BartMassey
Copy link
Author

Thanks very much for the careful review and catching all the paper bag bugs. I think this gets all your suggested changes…

@cuviper
Copy link
Member

cuviper commented Nov 14, 2020

Thanks!

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 14, 2020

@bors bors bot merged commit 92b8f48 into rust-num:master Nov 14, 2020
@BartMassey
Copy link
Author

Thank you!

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