trailingZeros

trailingZeros

> Functions

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

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

Parameters
Return
Note