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 leading_ones and trailing_ones to PrimInt #205

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

clarfonthey
Copy link
Contributor

Since this was only stabilised in 1.46.0, it falls back to a naïve version on older versions.

It seems unlikely that the version in libstd will ever be different from calling the zeros versions on !self, but for future-proofing, this defers to the libstd versions anyway.

build.rs Outdated Show resolved Hide resolved
@clarfonthey clarfonthey force-pushed the master branch 2 times, most recently from ac1e396 to b05aa66 Compare April 10, 2021 01:38
@clarfonthey
Copy link
Contributor Author

Rebased and fixed issue mentioned

@clarfonthey
Copy link
Contributor Author

ping @cuviper, I think you'd be the one to merge this?

@cuviper
Copy link
Member

cuviper commented Jun 15, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 15, 2021

@bors bors bot merged commit 93df4ad into rust-num:master Jun 15, 2021
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