Bit Twiddling Hacks

March 5, 2007 | General | By: Mark VandeWettering

I had need for a reminder of a bit twiddling hack that I had forgotten, and found this useful page that included many I don’t think I had seen before. These are mostly “too clever”, and should be used sparingly in your code. You’ve been warned.

Bit Twiddling Hacks

[tags]Programming,Hackery[/tags]