On Sun, Apr 19, 2009 at 12:17:32AM -0400, Justin Ruggles wrote: > + x &= x-1; // unset lowest set bit Just because it is less obfuscated and maybe a somewhat common trick is no reason to not document it.