pixelperfectengine v0.10.0-beta.1 (2021-05-16T17:51:01Z)
Dub
Repo
isPowerOf2
PixelPerfectEngine
system
etc
Returns true if x is power of two.
pure @
safe
@
nogc
nothrow
bool
isPowerOf2
(
T
=
uint
)
(
T
x
)
Meta
Source
See Implementation
PixelPerfectEngine
system
etc
functions
clamp
cmpObjPtr
csvParser
hashCalc
intToHex
intToOct
isInteger
isInterface
isPowerOf2
max
min
nextPow2
parseDec
parseHex
parseOct
reinterpretCast
reinterpretGet
stringArrayConv
stringArrayJoin
toStream
Returns true if x is power of two.