Searched refs:ispow2 (Results 1 – 6 of 6) sorted by relevance
235 #define limitequalsasize(t) (isrealasize(t) || ispow2((t)->alimit))256 lua_assert(ispow2(size) && size/2 < t->alimit && t->alimit < size); in luaH_realasize()268 return (!isrealasize(t) || ispow2(t->alimit)); in ispow2realasize()918 if (ispow2realasize(t) && !ispow2(limit - 1)) { in luaH_getn()
66 #define ispow2(x) (((x) & ((x) - 1)) == 0) macro
93 # include <bit> // for ispow2176 static_assert(std::ispow2(_Align));
314 ispow2(_Tp __x) noexcept
4693 (ispow2, ceil2, floor2, log2p1): Likewise.4696 * include/std/memory (assume_aligned): Adjust use of ispow2.4700 * testsuite/17_intro/freestanding.cc: Adjust use of ispow2.4709 * testsuite/26_numerics/bit/bit.pow.two/ispow2.cc: Rename to ...4750 * testsuite/26_numerics/bit/bit.pow.two/ispow2.cc: Likewise.
2235 (countr_one(byte), popcount(byte), ispow2(byte), ceil2(byte))2240 * testsuite/26_numerics/bit/bit.pow.two/ispow2.cc: Likewise.
Completed in 18 milliseconds