Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is there an advantage for using unsigned 64 bit integers for hash?

Author: Rick Bischoff

Date: 05:08:38 09/11/03

Go up one level in this thread


Signed/unsigned really only makes a difference if you are performing
math(addition,multiplication,etc) on them.  Usually not the case with hash keys,
etc.

On September 11, 2003 at 08:03:13, Uri Blass wrote:

>My natural choice is not to use unsigned for varaibles if there is no special
>reasons.
>
>I decided to define bitboard as unsigned but except it my varaibles are usually
>not unsigned including the hash key for the position.
>
>My question is if there is an advantage for using unsigned varaibles.



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.