Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty book question.

Author: Kevin K

Date: 16:22:53 09/03/05

Go up one level in this thread


On September 03, 2005 at 18:07:18, Robert Hyatt wrote:

>On September 03, 2005 at 17:21:48, Kevin K wrote:
>
>>Another question is line number 1209 in book.c.
>>
>>    if (start)
>>      current.status_played += temp.percent_play;
>>
>>Shoudn't above code be changed to
>>
>>    if (start)
>>      current.status_played += temp.percent_play & 127;
>
>Why would "percent play" be > 100? And if it would, that would not completely
>guarantee that it would be <= 100 after the bitwise AND is done...

I don't know where you erased wtm bit.



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.