You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Melissa E. O'Neill's pcg for rng and Lemire's unbiased bounded rand
Mersenne Twister's state size is huge (kb's of state), instead we'll swap with a pcg.
The pcg's state is 64 bits and has a equidistributed 2^32 period (plenty for a quick rng).
To replicate std::distribution we use lemire's unbiased bounded random method.
Adjust the state size as desired between 32 and 128 bits
0 commit comments