10000 ENH: SFC64 BitGenerator by rkern · Pull Request #13838 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: SFC64 BitGenerator #13838

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

Merged
merged 3 commits into from
Jun 26, 2019
Merged

ENH: SFC64 BitGenerator #13838

merged 3 commits into from
Jun 26, 2019

Conversation

rkern
Copy link
Member
@rkern rkern commented Jun 26, 2019

Replaces mattip#41

Adds just the SFC64 BitGenerator, as discussed. There's still a little bit of documentation to spruce up, but other PRs currently in flight would conflict, so I'll do a documentation pass later.


cdef _reset_state_variables(self):
self.rng_state.has_uint32 = 0
self.rng_state.uinteger = 0
Copy link
Member

Choose a reason for hiding this comment

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

The two lines from this function can be inlined into __init__

Copy link
Member
@mattip mattip left a comment

Choose a reason for hiding this comment

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

One small comment. Once this and #13837 are in, we should carefully review the documentation for consistency and clarity

@charris charris added this to the 1.17.0 release milestone Jun 26, 2019
@charris charris merged commit 60ede65 into numpy:master Jun 26, 2019
@charris
Copy link
Member
charris commented Jun 26, 2019

Thanks Robert.

Sign up for free to join this conversation on GitHub. Already ha 6333 ve an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0