wordsForBits
wordsForBits(
bits,width):number
Defined in: packages/core/src/number/bit/words-for-bits.ts:9
Minimum number of words required to hold bits bits, given a word width of
width bits.
Parameters
Section titled “Parameters”number
The number of bits to fit, non-negative.
number
The width of a word in bits, positive.
Returns
Section titled “Returns”number
⌈bits / width⌉.