Difference between revisions of "Bit-Twiddling"

From Chessprogramming wiki
Jump to: navigation, search
(Created page with "'''Home * Programming * Bit-Twiddling''' '''Bit-twiddling''' is a family of techniques used in [https://en.wikipedia.org/wiki/Bit_manipulation manipulating]...")
 
m
Line 31: Line 31:
 
* [http://www-cs-faculty.stanford.edu/%7Eknuth/fasc0c.ps.gz Pre-Fascicle 0c (Boolean evaluation)]
 
* [http://www-cs-faculty.stanford.edu/%7Eknuth/fasc0c.ps.gz Pre-Fascicle 0c (Boolean evaluation)]
 
* [http://www-cs-faculty.stanford.edu/%7Eknuth/fasc1a.ps.gz Pre-Fascicle 1a (Bitwise tricks and techniques)]
 
* [http://www-cs-faculty.stanford.edu/%7Eknuth/fasc1a.ps.gz Pre-Fascicle 1a (Bitwise tricks and techniques)]
Online [[Papers]] by [[Henry S. Warren, Jr.]]
+
Online Papers by [[Henry S. Warren, Jr.]]
 
* [[Henry S. Warren, Jr.#HackersDeligh|Hacker’s Delight]], [http://www.informit.com/store/product.aspx?isbn=0321842685 2nd Edition]
 
* [[Henry S. Warren, Jr.#HackersDeligh|Hacker’s Delight]], [http://www.informit.com/store/product.aspx?isbn=0321842685 2nd Edition]
 
* [http://www.hackersdelight.org/basics1.pdf Sample section of Hacker's Delight, Chapter 2 Basics] (pdf)
 
* [http://www.hackersdelight.org/basics1.pdf Sample section of Hacker's Delight, Chapter 2 Basics] (pdf)

Revision as of 09:07, 11 May 2018

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