gfm v2.0.11 (2015-02-12T17:50:21Z)
Home
Dub
Repo
isPowerOf2
gfm
math
funcs
@
nogc
pure nothrow
bool
isPowerOf2
(
T
)
(
T
i
)
if
(
isIntegral
!
T
)
Return Value
Type:
bool
true of i is a power of 2.
Meta
Source
See Implementation
gfm
math
funcs
functions
average
clamp
degrees
fract
ilog2
isPowerOf2
lerp
lfloor
ltrunc
max
maxElement
min
minElement
moduloWrap
nextPowerOf2
radians
safeAcos
safeAsin
sinOverX
smoothStep
solveCubic
solveLinear
solveQuadratic
solveQuartic
standardDeviation
step
variance