gfm v2.0.11 (2015-02-12T17:50:21Z)
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
isPowerOf2
lerp
lfloor
ltrunc
max
maxElement
min
minElement
moduloWrap
nextPowerOf2
radians
safeAcos
safeAsin
sinOverX
smoothStep
solveCubic
solveLinear
solveQuadratic
solveQuartic
standardDeviation
step
variance
Computes next power of 2.