Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: bad random numbers how bad are they?

Author: Mike Byrne

Date: 20:08:38 05/30/04

Go up one level in this thread


On May 30, 2004 at 20:05:55, Uri Blass wrote:

>people claim that using rand generates bad random numbers.
>
>If you have better 32 bit number then I am interested how much better are they
>in test suite.
>
>Here are my numbers
>Can you replace your 32 bit number by these numbers and report if your program
>is slower in test suite and in case that it is slower how much slower?
>


you might find these links interesting:

http://random.mat.sbg.ac.at/tests/

http://www.cryptosys.net/random.html

http://www.math.keio.ac.jp/~matumoto/emt.html

http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html

you would generally not use rand() for cryptography...

a MersenneTwister RNG has an unusually long period, 2^19937-1, and the order of
equidistribution, 623 dimensions, is far greater than Rand() (or so I have read)

YMMV depending on what your needs are...



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.