@ctz
@ctz
@ctz(x: T) U
This function counts the number of trailing zeroes in x which is an integer type T.
The return type U is an unsigned integer with the minimum number of bits that can represent the value T.bit_count.
If x is zero, @ctz returns T.bit_count.
See also:
- @clz
- @popCount
