Function non_zero_lsb_index

Source
pub fn non_zero_lsb_index<T: Integer + PrimInt>(n: T) -> u32
Expand description

computes the least-significant bit set. Doesn’t return the correct answer if the input is zero