Pages tagged bits:

Low Level Bit Hacks You Absolutely Must Know - good coders code, great reuse
http://www.catonmat.net/blog/low-level-bit-hacks-you-absolutely-must-know/

good coders code, great reuse
Puzzle: Fast Bit Counting « Reflections
http://gurmeetsingh.wordpress.com/2008/08/05/fast-bit-counting-routines/
return ((tmp + (tmp >> 3)) & 030707070707) % 63;