Searched defs:IS_POWER_OF_TWO (Results 1 – 2 of 2) sorted by relevance
30 #define IS_POWER_OF_TWO(a) ((a & ((a) - 1)) == 0) macro
180 #define IS_POWER_OF_TWO(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro