Author: Bruce Moreland
Date: 13:46:33 07/14/01
Go up one level in this thread
On July 14, 2001 at 14:23:15, Miguel A. Ballicora wrote: >I won't have that problem since MATE is 32000 (just paranoia to be so close to >32767) in my program but I am curious why you would have overflow problems if >MATE should be the maximum possible value? Is it because of the way you adjust >the mate values? You shouldn't have problems but it's something to consider. Back when ints were 16 bits, I had my MATE value too close to 32767, and when I got a mate value back from the search, and went to search the next ply with the window centered upon that score, score + window caused an overflow. bruce
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.