ae v0.0.2177 (2018-04-10T20:33:51Z)
Home
Dub
Repo
bitsFor
ae
utils
math
Returns the number of bits needed to store a number up to n (inclusive).
ubyte
bitsFor
(
T
)
(
T
n
)
Meta
Source
See Implementation
ae
utils
math
aliases
flipBits
functions
average
between
bitsFor
bound
compare
ilog2
isPowerOfTwo
itpl
nextPowerOfTwo
op
roundUpToPowerOfTwo
sign
sort2
sqr
sum
swapBytes
templates
TypeForBits
unary
Returns the number of bits needed to store a number up to n (inclusive).