Monday, July 28, 2008

C Macro Source Code for verifying if a number is power of two.

#define power_of_two(x) ((x)&&(~(x&(x-1))))

No comments:

Your Title