Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Hash codes - how good is good enough?

Author: Pat King

Date: 14:04:19 02/07/01

Go up one level in this thread


On February 07, 2001 at 11:31:12, Robert Hyatt wrote:

>The place
>to start working is on your random numbers.  When I first did mine, I simply
>checked the hamming distance between any two of the numbers and if it was
>unacceptably low (say < 16 bits different) I culled one of them.  I doubt
>you can do really bad random numbers unless you make the classic mistake of
>using two 32-bit floating point numbers and sticking them together to make
>one 64 bit random number.  The problem with this is that the 'exponent' part
>of each number will be close to the same since FP random number generators
>usually produce a number N such that 0 <= N < 1.0  and that will mean your
>64 bit numbers are really maybe on 44 bits of significant bits.

At least I avoided ONE classic mistake :)



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.