phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
setLowestBit
nxt
bitop_ex
Set lowest bit of
a
to one.
pure nothrow @
safe
@
nogc
pragma(
inline
, true) @
safe
void
setLowestBit
(
T
)
(
ref
T
a
)
if
(
isIntegral
!
T
)
Meta
Source
See Implementation
nxt
bitop_ex
aliases
bt
btm
btr
bts
getBottomBit
getLsbit
getMsbit
getTopBit
resetBottomBit
resetTopBit
setBottomBit
setLsbit
setMsbit
setTopBit
functions
getHighestBit
getLowestBit
makeBit
resetBit
resetHighestBit
resetLowestBit
setBit
setHighestBit
setLowestBit
testBit
templates
UnsignedOfSameSizeAs
Set lowest bit of a to one.