Guest User

Untitled

a guest
Jul 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. inline int count_1s_max_15(Bitboard b) {
  2. b -= (b>>1) & 0x5555555555555555ULL;
  3. b = ((b>>2) & 0x3333333333333333ULL) + (b & 0x3333333333333333ULL);
  4. b *= 0x1111111111111111ULL;
  5. return int(b >> 60);
  6. }
Add Comment
Please, Sign In to add comment