gfm v1.1.3 (2014-06-18T21:14:08Z)
Home
Dub
Repo
nextPowerOf2
gfm
math
funcs
Computes next power of 2.
int
nextPowerOf2
(int i)
nothrow
int
nextPowerOf2
(
int
i
)
long
nextPowerOf2
(long i)
Meta
Source
See Implementation
gfm
math
funcs
functions
clamp
degrees
fract
ilog2
isPowerOf2
lerp
lfloor
ltrunc
max
min
moduloWrap
nextPowerOf2
radians
safeAcos
safeAsin
sinOverX
smoothStep
solveCubic
solveLinear
solveQuadratic
solveQuartic
step
Computes next power of 2.