Function bitm::n_lowest_bits_1_64

source ·
pub const fn n_lowest_bits_1_64(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 [1, 64].