phobos-next v0.4.6 (2022-11-25T12:27:21Z)
Home
Dub
Repo
wordCountOfBitCount
nxt
array_help
@
safe
static @
safe
pure nothrow
@
nogc
=>
(
(
bitCount
/
wordBits
)
+
(
bitCount
%
wordBits
!= 0 ? 1 : 0
)
)
size_t
wordCountOfBitCount
(
size_t
bitCount
)
Return Value
Type:
size_t
number of words (
size_t
) needed to represent
bitCount
bits.
Meta
Source
See Implementation
nxt
array_help
aliases
s
functions
makeReallocatedBitArrayZeroPadded
makeUninitializedBitArray
makeZeroedBitArray
staticArray
staticArrayAlternative
properties
asN
toUbytes
static functions
binBlockBytes
wordCountOfBitCount
structs
US