The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
bitElemShift
mir
bitop
Right shift vallue for bit index to get element's index (5 for
uint
).
enum
uint
bitElemShift
(
T
:
ubyte
)
;
enum
uint
bitElemShift
(
T
:
ubyte
)
;
enum
uint
bitElemShift
(
T
:
byte
)
;
enum
uint
bitElemShift
(
T
:
ushort
)
;
enum
uint
bitElemShift
(
T
:
short
)
;
enum
uint
bitElemShift
(
T
:
uint
)
;
enum
uint
bitElemShift
(
T
:
int
)
;
enum
uint
bitElemShift
(
T
:
ulong
)
;
enum
uint
bitElemShift
(
T
:
long
)
;
enum
uint
bitElemShift
(
T
:
ucent
)
;
enum
uint
bitElemShift
(
T
:
cent
)
;
Meta
Source
See Implementation
mir
bitop
functions
bt
bta
btc
btr
bts
ctlz
ctlzp
ctpop
cttz
cttzp
nLeadingBitsToCount
nTrailingBitsToCount
variables
bitElemShift
bitShiftMask
Right shift vallue for bit index to get element's index (5 for uint).