bit-twiddling hacks
Seairth
Posts: 2,474
A friend shared this with me today. It's a page full of bit-twiddling hacks. Figured someone here might find it useful, so I'm passing it along.
http://graphics.stanford.edu/~seander/bithacks.html
http://graphics.stanford.edu/~seander/bithacks.html
Comments
I looked for the web site that went with it, and discovered it is only accessible now via the archive:
https://web.archive.org/web/20190915025154/http://www.hackersdelight.org/