Pseudo-random number generator

前端 未结 10 762
无人及你
无人及你 2020-12-09 05:17

What is the best way to create the best pseudo-random number generator? (any language works)

10条回答
  •  余生分开走
    2020-12-09 05:38

    See this link for the TestU01 suite of tests, which includes several batteries of tests.

    http://www.iro.umontreal.ca/~simardr/testu01/tu01.html

    In the paper, the author demonstrates the test result on a variety of existing RNGs, but not .NET System.Random (as far as I can tell). Though he does test VB6's generator.

    Very few pass all the tests...

提交回复
热议问题