- By Sean Eron Anderson seander@cs.stanford.edu
- Converted to Markdown by Joe Gibson (@gibsjose) joseph.gibson@nasa.gov
- Edits and Table of Contents by Jeroen de Bruijn (@vidavidorra) vidavidorra@gmail.com
Sean Anderson's wonderful compilation of Bit Twiddling Hacks, converted to a more readable Markdown version and accompanying PDF.
For a C implementation of some of the Bit Hacks, see Jeroen de Bruijn's repository here.
This is really meant to be viewed as the Markdown source, so you can easily resize the window and interact with the code. I've found the best way to interact with it is either right here on GitHub, or using the Atom editor and the markdown-preview
package.
However, a PDF is also included, although currently syntax highlighting is missing until I migrate this to LaTeX.
The PDF was generated using Markdown to PDF.