Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Random keys and hamming distance

Author: Vincent Diepeveen

Date: 20:11:36 08/17/02

Go up one level in this thread


On August 17, 2002 at 17:18:19, Dieter Buerssner wrote:

This is a few hours test knowing your programming skills dieter.
make something that checks for collissions and then create a new
set of random numbers using 2 numbers of 32 bits from several
random generators. Of course the first one to use is rand() from
the system, that's what everybody starts with :)

>On August 17, 2002 at 17:01:17, Will Singleton wrote:
>
>>Did you test for randomness also?  In my tests, combining 2 32-bit ints results
>>in a pretty severe bunching of numbers.  I did a graphical look at all the
>>generated numbers (just stuck them on Excel), and the difference was startling.
>
>What was the difference you saw? Could you give me an "algorithm" to see the
>difference? Which 32-bit pseudo random number generator (PRNG) did you use, and
>which 64 bit PRNG, where you saw that difference? I hope, my questions don't
>sound provocative - I am really interested.
>
>Perhaps some contributors to this thread may find
>http://stat.fsu.edu/~geo/diehard.html interesting. There are a lot of tests for
>the "randomness" of PRNGs, and it is pretty easy to try out your own favorite
>PRNG with those tests. However, interpreting the results may need some
>statistical knowledge.
>
>Regards,
>Dieter



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.