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.

Share and Enjoy

  • StumbleUpon
  • Reddit
  • Digg
  • del.icio.us
  • Facebook
  • TwitThis

Related posts:

Book Review: Firefox Hacks
Install 3rd party Application on your iPhone without hacks
First Apple TV hacks emerge
PowerBook Accelerometer Hacks
CLI for noobies: Test this

Hope you like that post!

Forever Geek is a resource for all things geek. You can stay tuned by having the latest FG news delivered to you for free via RSS.