06-01-08 - 4

Sean Anderson's Bit Hacks page is full of bit hacking wackiness. An awful lot of it is not actually useful on modern CPU's, but it's still quite intriguing. I somehow never became aware of the modulo division as an accumulator trick.

MIT HAKMEM from 1972 contains lots of weird little hacks and tricks and is quite an entertaining read, because you can see followup responses of people figuring out better ways or the math behind it. For example, check out Item 149, then the next few.

Won sent me some more cool similar stuff :

The Aggregate "Magic" algorithms; this stuff is mostly pretty weak, but something might be useful there. Not related to Eberly's Magic Software which is more better.

Doing divide with multiply detailed page on how to do it correctly. This is something I hack frequently and get slightly wrong.

No comments:

old rants