Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Determining location of LSB/MSB

Author: Gerd Isenberg

Date: 06:07:41 02/09/04

Go up one level in this thread


On February 09, 2004 at 05:09:07, Renze Steenhuisen wrote:

>
>Hi there!
>
>does anyone know the fastest way to determine the lcoation of the Least/Most
>Significant Bit, and to clear that bit?
>
>In my case the most important platforms (at the moment) are Pentium III and IV.
>
>Thanks!

find lsb from CCC archives:

http://chessprogramming.org/cccsearch/ccc.php?art_id=265616

Walter Faxon's magic BitScan:
http://chessprogramming.org/cccsearch/ccc.php?art_id=272378

Matt Taylor's De Bruijn folding trick:
http://chessprogramming.org/cccsearch/ccc.php?art_id=305965

Gerd


>
>Renze



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.