1 2 3 4 5 6 7 8 9 10 11 12 13 14
Returns the number of ones in the binary representation of `self`. # Examples Basic usage: ``` # use ::exint::primitive::*; # ::exint::uint! { use exint::Saturating; assert_eq!(Saturating(0b01001100_u24).count_ones(), 3); # } ```