dmd ~master (2023-11-01T14:17:50Z)
Dub
Repo
popcnt
core
bitop
Calculates the number of set bits in an integer.
int
popcnt
(uint x)
int
popcnt
(ulong x)
nothrow @
safe
@
nogc
pure
int
popcnt
(
ulong
x
)
Meta
Source
See Implementation
core
bitop
functions
_popcnt
bitswap
bsf
bsr
bswap
bt
btc
btr
bts
byteswap
inp
inpl
inpw
outp
outpl
outpw
popcnt
rol
ror
structs
BitRange
Calculates the number of set bits in an integer.