Guest User

Untitled

a guest
Dec 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. int bc(uint32_t n) {
  2.   n = ((n & 0xAAAAAAAA) >> 1) + (n & 0x55555555);
  3.   n = ((n & 0x30C30C30) >> 4) +
  4.       ((n & 0x0C30C30C) >> 2) + (n & 0xC30C30C3);
  5.   return n % 63;
  6. }
Add Comment
Please, Sign In to add comment