Skip to content
#

bit-twiddling

Here are 17 public repositories matching this topic...

Sean Anderson's Bit Twiddling Hacks (bit manipulation tricks in C) in one file, with 14 bugs fixed and 6 faster versions. Popcount, parity, log2, bit reversal, Morton codes and more.

  • Updated Nov 4, 2026

Add this topic to your repo

To associate your repository with the bit-twiddling topic, visit your repo's landing page and select "manage topics."

Learn more