countTrailingZeroBits

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

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

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

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

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

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

expect 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

expect 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
actual 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

actual 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
actual 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

actual 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
actual 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

actual 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