Computer Chess Club Archives


Search

Terms

Messages

Subject: Promotion test with 0x88

Author: Rémi Coulom

Date: 00:50:22 12/09/03

Go up one level in this thread


On December 08, 2003 at 12:28:55, Georg v. Zimmermann wrote:

>if (to >> 4 == 7) // is it a promotion ?
>{...}

What I do is
if (to >= 0x70) // is it a promotion ?
{...}

I think it might be faster, but I am not sure.

Rémi



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.