A mask for the higher M bits in an N bit word.
This is a generic implementation that should also work for the case that N is less than the width of unsigned
, or in other words if the conversion rank of uintN_t
is less than that for unsigned
.
- Precondition
- N and M must evaluate to decimal constants by the preprocessor
-
N must be larger or equal than M
Definition at line 1201 of file p99_int.h.