There is a great list of bit manipulation hacks that has been around and added to for years. See for example:
http://www-graphics.stanford.edu/~seander/bithacks.html On Dec 18, 2:22 pm, bittu <[email protected]> wrote: > Write an Efficient C Program to Reverse Bits of a Number -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
