gfm ~master (2021-03-12T16:19:32Z)
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.