| View previous topic :: View next topic |
| Author |
Message |
Pradu Kannan
Joined: 11 Mar 2006 Posts: 287 Location: Atlanta, GA
|
Post subject: Re: Resource for bit twiddlers Posted: Fri Jun 01, 2007 12:16 am |
|
|
| Gerd Isenberg wrote: |
Hi Pradu,
no, the o^(o-2r) trick with r is subset of o, unfortunately works only for "positive" directions, in this setwise case for the a->h direction (east, right from white points of view on the chessboard) with mapping a1==0, h8==63. For all other seven directions one has to use Steffan Westcott's Kogge-Stone routines. |
My mistake. I guess also that my code doesn't work well sometimes for multiple rooks on the same rank when one rook coincides with an occupancy. I need to look at your code a bit more closely. |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Resource for bit twiddlers |
J. Wesley Cleveland |
Fri May 04, 2007 1:55 am |
Re: Resource for bit twiddlers |
Gerd Isenberg |
Mon May 28, 2007 12:40 pm |
Re: Resource for bit twiddlers |
Gerd Isenberg |
Mon May 28, 2007 3:16 pm |
Re: Resource for bit twiddlers |
Gerd Isenberg |
Mon May 28, 2007 4:35 pm |
Re: Resource for bit twiddlers |
Gerd Isenberg |
Wed May 30, 2007 5:55 pm |
Re: Resource for bit twiddlers |
Pradu Kannan |
Wed May 30, 2007 10:51 pm |
Re: Resource for bit twiddlers |
Gerd Isenberg |
Thu May 31, 2007 6:17 am |
Re: Resource for bit twiddlers |
Pradu Kannan |
Fri Jun 01, 2007 12:16 am |
Re: Resource for bit twiddlers |
Gerd Isenberg |
Fri Jun 01, 2007 8:19 am |
Re: Resource for bit twiddlers |
Gerd Isenberg |
Mon Jun 04, 2007 2:58 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|