Bit Twiddling Hacks

graphics.stanford.edu graphics.stanford.edu