Ever want to compute a modulus without using division? How about swapping the values of two variables without using a temporary variable? Well, now you can with these and loads of other hacks at Bit Twiddling Hacks. Written in C, the site provides numerous ways to perform simple calculations without sacrificing performance.
Found via Melissa.