MCPcopy Create free account
hub / github.com/InoriRus/Kyty / IsPowerOfTwo

Function IsPowerOfTwo

source/emulator/src/Graphics/Tile.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32static bool IsPowerOfTwo(uint32_t x)
33{
34 return (x != 0) && ((x & (x - 1)) == 0);
35}
36
37struct Uint128
38{

Callers 4

init_mapFunction · 0.85
init_map2Function · 0.85
TileGetTextureSizeFunction · 0.85
TileGetTextureSize2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected