Skip to main content

Module bits

Module bits 

Source

Functions§

bit_mask_u32
Returns a 32-bit bitmask of x low bits set, matching C++’s BIT_MASK32(x) from <bits.h>.
bit_mask_u64
Returns a bitmask of x low bits set, matching C++’s BIT_MASK(x) from <bits.h>.