trailingZeros

trailingZeros

> Functions

Returns the number of 0 bits at the end of the integer x*, that is before its first 1 bit starting from the least significant bit. It is the position of the lowest set bit, or equivalently the exponent of the largest power of 2 dividing *x.

Returns 64 when x is 0, since no bit is set. The function also works on big integers.

Parameters
Return
Note