Author: Heiner Marxen
Date: 07:11:15 09/11/03
Go up one level in this thread
On September 11, 2003 at 08:08:38, Rick Bischoff wrote: >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. It _does_ make a difference for shift right (x>>y). Often unsigned operands are faster. Of course, it depends (compiler etc). Heiner >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.