pixelperfectengine ~master (2023-12-13T21:18:59Z)
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
aliases
toStream
functions
clamp
cmpObjPtr
csvParser
hashCalc
intToHex
intToOct
isInterface
isPowerOf2
max
min
nextPow2
parseDec
parseHex
parseOct
removeUnallowedDups
removeUnallowedSymbols
stringArrayConv
stringArrayJoin
stringArrayParser
Returns true if x is power of two.