Home
last modified time | relevance | path

Searched refs:ispow2 (Results 1 – 6 of 6) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dltable.c235 #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()
A Dllimits.h66 #define ispow2(x) (((x) & ((x) - 1)) == 0) macro
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/include/std/
A Dmemory93 # include <bit> // for ispow2
176 static_assert(std::ispow2(_Align));
A Dbit314 ispow2(_Tp __x) noexcept
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-10/
A DChangeLog4693 (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.
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/
A DChangeLog2235 (countr_one(byte), popcount(byte), ispow2(byte), ceil2(byte))
2240 * testsuite/26_numerics/bit/bit.pow.two/ispow2.cc: Likewise.

Completed in 18 milliseconds