4 ms·
Bit Twiddling Hacks (2005)
- jdblair 9y agoIf you enjoy these bit twiddling hacks, I recommend "Hacker's Delight," by Henry Warren. Author's website: http://www.hackersdelight.org http://www.hackersdelight.org 2nd edition on Amazon: https://www.amazon.com/Hackers-Delight-2nd-Henry-Warren/dp/0321842685 https://www.amazon.com/Hackers-Delight-2nd-Henry-Warren/dp/0...
- sctb 9y agoA perennial: https://hn.algolia.com/?query=Bit%20Twiddling%20Hacks&sort=byDate&dateRange=all&type=story&storyText=false&prefix&page=0 https://hn.algolia.com/?query=Bit%20Twiddling%20Hacks&sort=b...
- fanf2 9y agoMy favourite bit twiddling hacks: Bitwise parallel "SIMD within a register" Life, by Thomas Rokicki: https://fanf.livejournal.com/93032.html https://fanf.livejournal.com/93032.html Popcount for radix trees, as seen in Phil Bagwell's HAMTs and my qp tries: https://dotat.at/prog/qp/README.html https://dotat.at/prog/qp/README.html