daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Dec 17th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top