gfm v3.0.3 (2015-09-02T09:30:55Z)
Home
Dub
Repo
nextPowerOf2
gfm
math
funcs
Computes next power of 2.
int
nextPowerOf2
(int i)
long
nextPowerOf2
(long i)
@
nogc
pure nothrow
long
nextPowerOf2
(
long
i
)
Meta
Source
See Implementation
gfm
math
funcs
functions
average
clamp
degrees
fract
ilog2
inverseSqrt
isPowerOf2
lerp
lfloor
ltrunc
maxElement
minElement
moduloWrap
nextPowerOf2
radians
safeAcos
safeAsin
sinOverX
smoothStep
solveCubic
solveLinear
solveQuadratic
solveQuartic
standardDeviation
step
variance
Computes next power of 2.