num_bigint_dig::algorithms

Function fls

Source
pub fn fls<T: PrimInt>(v: T) -> usize
Expand description

Find last set bit fls(0) == 0, fls(u32::MAX) == 32