Searched defs:IS_POWER_OF_TWO (Results 1 – 3 of 3) sorted by relevance
23 #define IS_POWER_OF_TWO(a) ((a & ((a) - 1)) == 0) macro
226 #define IS_POWER_OF_TWO(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
378 #define IS_POWER_OF_TWO(val) (((val) & (val - 1)) == 0) macro