- By Sean Eron Anderson [email protected]
- Converted to Markdown by Joe Gibson (@gibsjose) [email protected]
- Edits and Table of Contents by Jeroen de Bruijn (@vidavidorra) [email protected]
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.