Searched defs:isPowerOf2 (Results 1 – 6 of 6) sorted by relevance
47 constexpr bool isPowerOf2(int n) { return (!(n & (n - 1))); } in isPowerOf2() function
74 bool isPowerOf2() const { in isPowerOf2() function
28 static bool isPowerOf2(unsigned n) { isPowerOf2() function
420 bool isPowerOf2() const { isPowerOf2() function
1847 TEST(APIntTest,isPowerOf2) TEST() argument
1102 bool isPowerOf2() const { isPowerOf2() function