countTrailingZeroBits

Common
JVM
JS
Native
1.3
@ExperimentalStdlibApi @ExperimentalUnsignedTypes fun UInt.countTrailingZeroBits(): Int

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

Common
JVM
JS
Native
1.3
@ExperimentalStdlibApi @ExperimentalUnsignedTypes fun ULong.countTrailingZeroBits(): Int

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

Common
JVM
JS
Native
1.3
@ExperimentalStdlibApi @ExperimentalUnsignedTypes fun UByte.countTrailingZeroBits(): Int

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

Common
JVM
JS
Native
1.3
@ExperimentalStdlibApi @ExperimentalUnsignedTypes fun UShort.countTrailingZeroBits(): Int

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

Common
JVM
JS
Native
1.3
@ExperimentalStdlibApi fun Int.countTrailingZeroBits(): Int

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

Common
JVM
JS
Native
1.3
@ExperimentalStdlibApi fun Long.countTrailingZeroBits(): Int

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

Common
JVM
JS
Native
1.3
@ExperimentalStdlibApi fun Byte.countTrailingZeroBits(): Int

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

Common
JVM
JS
Native
1.3
@ExperimentalStdlibApi fun Short.countTrailingZeroBits(): Int

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