This is a temporary, read-only recovery of the chessprogrammingwiki while a longer-term plan is worked out. Editing is not possible right now, but will be again soon.
Chess Programming Wiki All pages Other namespaces

Bit-Twiddling

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.

Contents
  1. Bit-Twiddling related to Bitboards
  2. Bit-Manipulation
  3. Forum Posts
  4. Important online resources
  5. Other Bit-Twiddling resources
  6. External Links

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

HAKMEMC -- HAKMEM Programming hacks in C by Alan Mycroft

HAKMEM from Wikipedia

Watch on YouTube

Up one Level

Categories: NHOP · Tania Maria

What links here

Contributors: GerdIsenberg.