Searched defs:isPowerOfTwo (Results 1 – 8 of 8) sorted by relevance
34 inline bool isPowerOfTwo(size_t size) { return !(size & (size - 1)); } in isPowerOfTwo() function
130 bool isPowerOfTwo() const { in isPowerOfTwo() function
52 public static boolean isPowerOfTwo(int x) { in isPowerOfTwo() method in IntMath
176 public static boolean isPowerOfTwo(double x) { in isPowerOfTwo() method in DoubleMath
63 public static boolean isPowerOfTwo(int x) { in isPowerOfTwo() method in IntMath
60 public static boolean isPowerOfTwo(long x) { in isPowerOfTwo() method in LongMath
54 public static boolean isPowerOfTwo(BigInteger x) { in isPowerOfTwo() method in BigIntegerMath
86 public static boolean isPowerOfTwo(int number) { in isPowerOfTwo() method in FastMath