The 64-bit universal RNG
暂无分享,去创建一个
We describe a random number generator that produces uniform [0,1) variates directly, as 64-bit floating point numbers, without the customary floating of integers. Using only subtraction and tests on magnitude, the method is readily implemented and should, given the same seed values, produce exactly the same random numbers with most programming languages. The resulting numbers have a very long period ([approximate]2202 or 1061) and apparently excellent randomness--supported by extensive testing.
[1] G. Marsaglia,et al. Some Difficult-to-pass Tests of Randomness , 2022 .
[2] George Marsaglia,et al. Toward a universal random number generator , 1987 .
[3] Heleno Bolfarine,et al. Population variance prediction under normal dynamic superpopulation models , 1989 .