Computer Chess Club Archives


Search

Terms

Messages

Subject: How can you get the number of a bit which is set in a bitboard ?

Author: Johannes Buchner

Date: 15:12:35 08/19/99


Hi there !

I just wanted to know if anybody out there knows a different way how to do this
than using table-lookups like crafty. Is really no other mathematical
possibility ? By the way, do you know any Internet resources that deal with
problems like this (I think there is a method to do popcount without
table-lookups, e.g.) ? In the 'Dark Thought' description they're talking about
'Hacker's memory', a 'well-known collection of programming tricks'. Ever heard
of it ? I haven't !
So if you know anything intersting about that topic, please let me know (and all
the otherz of course !)

         Thanks Johannes



This page took 0.01 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.