Bit Twiddling Hacks
[http://graphics.stanford.edu/~seander/bithacks.html] - - public:legoman
d the log of a 32-bit value. If extended for 64-bit quantities, it would take roughly 9 operations. Another operation can be trimmed off by using four tables, with the possible additions incorporated into each. Using int table ele
