countTrailingZeroBits

Common
JVM
JS
Native
1.4
fun Int.countTrailingZeroBits(): Int
(Common source) (JVM source) (JS source) (Native source)

Counts the number of consecutive least significant bits that are zero in the binary representation of this Int number.

Common
JVM
JS
Native
1.4
fun Long.countTrailingZeroBits(): Int
(Common source) (JVM source) (JS source) (Native source)

Counts the number of consecutive least significant bits that are zero in the binary representation of this Long number.

Common
JVM
JS
Native
1.4
fun Byte.countTrailingZeroBits(): Int
(source)

Counts the number of consecutive least significant bits that are zero in the binary representation of this Byte number.

Common
JVM
JS
Native
1.4
fun Short.countTrailingZeroBits(): Int
(source)

Counts the number of consecutive least significant bits that are zero in the binary representation of this Short number.

Common
JVM
JS
Native
1.5
fun UInt.countTrailingZeroBits(): Int
(source)

Counts the number of consecutive least significant bits that are zero in the binary representation of this UInt number.

Common
JVM
JS
Native
1.5
fun ULong.countTrailingZeroBits(): Int
(source)

Counts the number of consecutive least significant bits that are zero in the binary representation of this ULong number.

Common
JVM
JS
Native
1.5
fun UByte.countTrailingZeroBits(): Int
(source)

Counts the number of consecutive least significant bits that are zero in the binary representation of this UByte number.

Common
JVM
JS
Native
1.5
fun UShort.countTrailingZeroBits(): Int
(source)

Counts the number of consecutive least significant bits that are zero in the binary representation of this UShort number.