Bit-Twiddling

From Chessprogramming wiki
Jump to: navigation, search

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

Bit-Manipulation

Forum Posts

Important online resources

Online Papers by Donald Knuth:

Vol 4 as Pre-Fascicle PostScripts:

Online Papers by Henry S. Warren, Jr.

Other Bit-Twiddling resources

Web-available by Henry Baker
HAKMEMC -- HAKMEM Programming hacks in C by Alan Mycroft
HAKMEM from Wikipedia

External Links

Up one Level