Function beetle_collatz::divide_while_even
source · pub fn divide_while_even<T: Collatz>(
n: NonZeroUnchecked<T>
) -> Option<NonZeroUnchecked<T>>Expand description
This has the effect of dividing a number by 2 until it is odd. Odd numbers are simply returned.