Searched defs:isPowerOf2 (Results 1 – 5 of 5) sorted by relevance
46 constexpr bool isPowerOf2(int n) { return (!(n & (n - 1))); } in isPowerOf2() function
70 bool isPowerOf2() const { in isPowerOf2() function
27 static bool isPowerOf2(unsigned n) { in isPowerOf2() function
425 bool isPowerOf2() const { in isPowerOf2() function
1794 TEST(APIntTest, isPowerOf2) { in TEST() argument