countTrailingZeroBits

Common
inline fun UInt.countTrailingZeroBits(): Int

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

Since Kotlin

1.5
Common
inline fun ULong.countTrailingZeroBits(): Int

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

Since Kotlin

1.5
Common
inline fun UByte.countTrailingZeroBits(): Int

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

Since Kotlin

1.5
Common
inline fun UShort.countTrailingZeroBits(): Int

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

Since Kotlin

1.5
Common
inline fun Byte.countTrailingZeroBits(): Int

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

Since Kotlin

1.4
Common
inline fun Short.countTrailingZeroBits(): Int

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

Since Kotlin

1.4
Common
fun Int.countTrailingZeroBits(): Int

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

Since Kotlin

1.4
inline fun Int.countTrailingZeroBits(): Int

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

Since Kotlin

1.4
JS
fun Int.countTrailingZeroBits(): Int

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

Since Kotlin

1.4
Native
fun Int.countTrailingZeroBits(): Int

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

Since Kotlin

1.4
Common
fun Long.countTrailingZeroBits(): Int

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

Since Kotlin

1.4
inline fun Long.countTrailingZeroBits(): Int

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

Since Kotlin

1.4
JS
fun Long.countTrailingZeroBits(): Int

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

Since Kotlin

1.4
Native
fun Long.countTrailingZeroBits(): Int

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

Since Kotlin

1.4