phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
testBit
nxt
bitop_ex
bool
testBit
(T a, I bixs)
bool
testBit
(T a, I bixs)
pure nothrow @
safe
@
nogc
pragma(
inline
, true) @
trusted
bool
testBit
(
T
I
...
)
(
in
T
a
,
I
bixs
)
if
(
(
!
(
isIntegral
!
T
)
)
&&
allSatisfy
!(
isIntegral
,
I
)
)
bool
testBit
(T* a, I bixs)
Return Value
Type:
bool
true
iff all
bix
:th bits of
a
are set.
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