Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
static bool IsPowerOfTwo(uint32_t x)
33
{
34
return (x != 0) && ((x & (x - 1)) == 0);
35
}
36
37
struct Uint128
38
{
Callers
4
init_map
Function · 0.85
init_map2
Function · 0.85
TileGetTextureSize
Function · 0.85
TileGetTextureSize2
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected