undefined-behavior
bit-twiddling-hacks-revisited
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.
- 0
- CC0-1.0
- 3 wk ago