Function bitm::n_lowest_bits

source ·
pub const fn n_lowest_bits(how_many: u8) -> u64
Expand description

Returns the largest how_many-bit number, i.e. 0..01..1 mask with how_many ones. how_many must be in range [0, 63].