5 ms·
Clever stuff. If you're interested in such things, best book I've seen is "Hackers Delight" http://www.amazon.com/Hackers-Delight-Henry-S-Warren/dp/0201914654/r
by axod 18y ago
Clever stuff. If you're interested in such things, best book I've seen is "Hackers Delight" http://www.amazon.com/Hackers-Delight-Henry-S-Warren/dp/0201914654/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1236711085&sr=8-1 http://www.amazon.com/Hackers-Delight-Henry-S-Warren/dp/0201...
Author covers really clever techniques to count bits, count non zero bytes like this etc etc. Bit manipulation at its best.
- pchristensen 18y agoHoly crap, all 15 reviews of that book are 5 stars! That's the best average I've ever seen on Amazon.
- axod 18y agoI'd give it 5 also. It's a ridiculously clever fun book. I agree with some of the reviewers though, the title probably means less people manage to find it than if it was called "Bit manipulation bible" or something.
- yters 18y agoThe author's website has all the source code for download: http://www.hackersdelight.org/ http://www.hackersdelight.org/