Toggle navigation
Collections
Fun
Jokes
Fortune
Photo
Nicknames
Blog
ﻮﺑﻻگ
Iran
Home
›
Fortune Cookies
›
Miscellaneous Collections
#define BITCOUNT(x) (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)
#define BX_(x) ((x) - (((x)>>1)&0x77777777) \
- (((x)>>2)&0x33333333) \
- (((x)>>3)&0x11111111))
-- really weird C code to count the number of bits in a word
Related:
define BITCOUNT(x) (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255) #define BX_(x) ((x) - (((x)>>1)&0x77777777) \ - (((x)>>2)&0x33333333) \ - (((x)>>3)&0x11111111)) -- Count the number of bits in a word.
if (ax^2 + bx + c) equals zero, who cares about x?
XXXXX X X X * * X X* *X X ***** X X X XXXXX
A/~~\A | LEAVING ALABAMA | ((o o))___ | Set your watch up an | \ / ~~~ # | hour .
((LAMBDA ((X) (X X))) (LAMBDA ((X) (X X))))
Receive: giant packet from %x:%x:%x:%x:%x:%x
2 x 4 x 666 The Lumber of the Bea