Author: Dann Corbit
Date: 19:56:05 05/09/02
Go up one level in this thread
On May 09, 2002 at 22:17:24, Vincent Diepeveen wrote: >On May 09, 2002 at 20:04:40, Dann Corbit wrote: > >please freshen up our mind what you can do with >the top_bit function? > >i completely forgot. something like finding all moves from here to >a certain square or so? > >that is... ...in a bitmap Nice to pick out pieces from a list of bits, if you are using it as a piece list. Just a handy way to get the first piece from a list. It has the same function as FirstOne(BITBOARD a) in Crafty's code. Nice to have an ANSI C version. Especially helpful when moving to a new chip and we don't have assembly for it yet. Not sure how fast this one is in relation to the others, but it looks awfully efficient.
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.