Searched defs:ImIsPowerOfTwo (Results 1 – 3 of 3) sorted by relevance
303 static inline bool ImIsPowerOfTwo(int v) { return v != 0 && (v & (v - 1)) == 0; } in ImIsPowerOfTwo() function304 static inline bool ImIsPowerOfTwo(ImU64 v) { return v != 0 && (v & (v - 1)) == 0; } in ImIsPowerOfTwo() function
153 static inline bool ImIsPowerOfTwo(int v) { return v != 0 && (v & (v - 1)) == 0; } in ImIsPowerOfTwo() function
157 static inline bool ImIsPowerOfTwo(int v) { return v != 0 && (v & (v - 1)) == 0; } in ImIsPowerOfTwo() function