gfm v6.2.8 (2017-06-07T21:06:48Z)
Home
Dub
Repo
nextPowerOf2
gfm
math
funcs
Computes next power of 2.
int
nextPowerOf2
(int i)
@
nogc
pure nothrow
int
nextPowerOf2
(
int
i
)
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.