1 2 3 4 5 6 7 8 9 10 11 12
Returns the number of leading ones in the binary representation of `self`. # Examples Basic usage: ``` # use ::exint::primitive::*; # ::exint::uint! { assert_eq!((-1_i24).leading_ones(), i24::BITS); # } ```