25 assert(n <= (std::numeric_limits<value_type>::max() - 1)/3);
47 assert(n <= (std::numeric_limits<value_type>::max() - 1)/3);
78 assert(std::numeric_limits<value_type>::digits
79 <= std::numeric_limits<unsigned long long>::digits);
81 return __builtin_ctzll(n);
88 assert(n <= (std::numeric_limits<value_type>::max() - 1)/3);
103 : (n*3 + 1) & mask) >> 1;
value_type m2(value_type n)
function.
value_type C_mask(value_type n, value_type mask)
Return if n even, if n odd.
value_type F(value_type n)
F odd function.
value_type F_mask(value_type n, value_type mask)
Return if n even if n odd which k as large as possible = .
value_type C(value_type n)
Collatz C function.
value_type T(value_type n)
Terras T function.
value_type T_mask(value_type n, value_type mask)
Return if n even if n odd.