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

Prefer upper bits #11

Merged
merged 3 commits into from Oct 11, 2020
Merged

Prefer upper bits #11

merged 3 commits into from Oct 11, 2020

Conversation

vks
Copy link
Contributor

@vks vks commented Sep 10, 2020

This is a value-breaking change to next_u32 affecting Xoshiro256{PlusPlus,StarStar} and Xoshiro512{Plus,PlusPlus,StarStar}.

This is a value-breaking change to `next_u32` affecting
`Xoshiro256{PlusPlus,StarStar}` and
`Xoshiro512{Plus,PlusPlus,StarStar}`.
@dhardy
Copy link
Member

dhardy commented Oct 9, 2020

The version number needs updating in the master Cargo.toml and in rand_xoshiro/src/lib.rs:73 (doc root URL).

@vigna I think preferring the upper 32-bits when selecting 32 from 64-bit generators makes sense, yes?

@vigna
Copy link

vigna commented Oct 9, 2020

Yes, it does make sense.

@vks vks merged commit 5a7f509 into rust-random:master Oct 11, 2020
@vks vks deleted the prefer-upper-bits branch October 11, 2020 11:15
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

3 participants