Random fun (xoroshiro)
Le hasard souvent fait plus que la science. - Proverbe Français
SplitMix64
xoroshiro128+ (XOR/shift/rotate) / wikipedia
The lowest bits of the output generated by xoroshiro128+ have low quality. The authors of xoroshiro128+ acknowledge that it does not pass all statistical tests, stating: We suggest to use its upper bits for floating-point generation.
Xorshift128+ fails BigCrush when selecting the least significant 32 bits and reversing the bit order… The recommended replacement for xorshift128+, xoroshiro128+, also fails BigCrush in a similar manner… Xoroshiro is no faster than … splitmix64, and SplittableRandom passes BigCrush - The Xorshift128+ random number generator fails BigCrush
see also:
Written on December 22, 2017, Last update on October 17, 2022
random
c++
math
quote