mir-core — Libmir Archive
← Libmir Archive
Dlang.org
btc
mir
bitop
Tests and complements the bit.
@
fastmath
auto
btc
(
Field
T
=
typeof
(
Field.init
[
size_t.init
])
)
(
auto
ref
Field
p
,
size_t
bitnum
)
if
(
__traits(
isUnsigned
,
T
)
)
Return Value
Type:
auto
A non-zero value if the bit was set, and a zero if it was clear.
mir
bitop
functions
bt
bta
btc
btr
bts
ctlz
ctlzp
ctpop
cttz
cttzp
nLeadingBitsToCount
nTrailingBitsToCount
variables
bitElemShift
bitShiftMask
Tests and complements the bit.