phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
wordCountOfBitCount
nxt
array_help
@
safe
static pure nothrow @
safe
@
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
makeArrayZeroed
makeBitArrayZeroed
makeReallocatedBitArrayZeroPadded
makeUninitializedBitArray
staticArray
staticArrayAlternative
properties
asN
toUbytes
static functions
binBlockBytes
wordCountOfBitCount
structs
US