Home * Programming * Bit-Twiddling

Bit-twiddling is a family of techniques used in manipulating integers in a non-obvious manner in order to obtain a result either more quickly or with less code. Bit-twiddling is often associated with bitboards, but there are both easy-to-read bitboard implementations and difficult-to-read implementations of other board representations.

Bit-Twiddling related to Bitboards


Forum Posts

Important online resources

Online Papers by Donald Knuth:

Online Papers by Henry S. Warren, Jr.

Other Bit-Twiddling resources

External Links

What links here?

Up one Level