phobos-next v0.3.8 (2020-08-04T23:11:21Z)
Home
Dub
Repo
setHighestBit
nxt
bitop_ex
Set highest bit of
a
to one.
@
safe
pure nothrow @
nogc
pragma(
inline
, true) @
safe
void
setHighestBit
(
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 highest bit of a to one.