Searched defs:is_power_of_2 (Results 1 – 2 of 2) sorted by relevance
36 #define is_power_of_2(n) ({ \ macro
112 #define is_power_of_2(n) ((n) > 0 && ((n) & ((n) - 1)) == 0) macro