vebtree v0.2.1 (2016-03-15T23:13:32Z)
Dub
Repo
nextPowerOfTwo
vebtree
Undocumented in source. Be warned that the author may not have intended to support it.
uint
nextPowerOfTwo
(
uint
value
)
Examples
assert
(
nextPowerOfTwo
(
1000
) ==
1024
);
assert
(
nextPowerOfTwo
(
1024
) ==
2048
);
Meta
Source
See Implementation
vebtree
classes
vebTree
functions
fill
high
higherSquareRoot
index
low
lowerSqrtShift
lowerSquareRoot
nextPowerOfTwo
variables
BASE_SIZE