Computer Chess Club Archives




Subject: Re: Hamming distance code

Author: Robert Hyatt

Date: 05:23:55 02/25/99

Go up one level in this thread

On February 25, 1999 at 00:40:47, Don Dailey wrote:

>I'm still concerned that our numbers are so far off.  Unfortunately
>I haven't had much time to go over it again (too busy on this darn
>board)  I don't see any bugs in my hamming code.  Any ideas?
>- Don

Yes.. you are overlooking one important detail:  these are 'random numbers'
of course.  I use the generator from Knuth's book (also in Numerical Recipes)
to generate 32 bit random numbers and then piece two of them together to make
a 64 bit value.  It might be my RNG is not doing so well with respect to yours.

What RNG are you using?

This page took 0.02 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

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