Author: Reinhard Scharnagl
Date: 05:04:06 02/28/06
Go up one level in this thread
On February 28, 2006 at 07:07:23, h.g.muller wrote: >On February 28, 2006 at 02:57:37, Reinhard Scharnagl wrote: > >> >>When I had been working with a 0x88 structure I used to iterate by: >> >>coor = ((coor | ~0x77) + 1) & 0x77; Those days I missed to do the following (valid only in that context): ((coor | ~0x77) + 1) & 0x77 == ( coor + ~0x77 + 1) & 0x77 == (coor + (~0x77 + 1)) & 0x77 == (coor + (-0x77) ) & 0x77 == (coor - 0x77) & 0x77 what would have had the suggested form then. Reinhard.
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.