Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Xboard and Nodes !

Author: Zach Wegner

Date: 17:05:39 12/01/03

Go up one level in this thread


On December 01, 2003 at 20:01:02, Martin Andersen wrote:

>On December 01, 2003 at 19:50:47, Mike Byrne wrote:
>
>
>>
>>It's been talked about before - here is one solution that does not harm the nps
>>as much.
>>
>>http://www.chess-archive.com/ccc.php?art_id=150358
>
>I've read this post and the code mentioned is implemented in the chess-engine.
>I've talking about how Xboard outputs the Node count, this is different, right ?
>What happens if I define the variable nodes as double instead of long ?
>
>Both Scid and Xboard are affected, Scid stops at 2^32/2 (long) and
>Xboard at 2^32 (unsigned long).

Double and "long long" would both work. Long long has more of a range in the
same amount of space, and is probably quicker. With both you need to remember to
rewrite the scanning function for reading node counts from the engine, and for
printing them back out.

Zach



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.