14 ms·
Highly recommend the book "Hacker's Delight" by Henry S. Warren, Jr for more bit hax0ring like this.
by al2o3cr 10y ago
Highly recommend the book "Hacker's Delight" by Henry S. Warren, Jr for more bit hax0ring like this.
- naasking 10y agoOr check this reference: https://graphics.stanford.edu/~seander/bithacks.html https://graphics.stanford.edu/~seander/bithacks.html