Bit Twiddling Hacks http://graphics.stanford.edu/~seander/bithacks.html Saved on Mar 05, 2004 Internet Archive