40.3.1.12 size_of_mask
#define size_of_mask( ) (32 - clz(mask) - ctz(mask))
Counts the number of bits in a mask (no more than 32 bits)
Parameters
- mask
-
Mask of which to count the bits.
#define size_of_mask( ) (32 - clz(mask) - ctz(mask))
Counts the number of bits in a mask (no more than 32 bits)
Mask of which to count the bits.