countLeadingZeroBits

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

Since Kotlin

1.4

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

Since Kotlin

1.4

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

Since Kotlin

1.5

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

Since Kotlin

1.5

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

Since Kotlin

1.5

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

Since Kotlin

1.5

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

Since Kotlin

1.4

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

Since Kotlin

1.4
actual inline fun Int.countLeadingZeroBits(): Int(source)

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

Since Kotlin

1.4

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

Since Kotlin

1.4
actual inline fun Int.countLeadingZeroBits(): Int(source)

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

Since Kotlin

1.4

actual inline fun Long.countLeadingZeroBits(): Int(source)

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

Since Kotlin

1.4

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

Since Kotlin

1.4

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

Since Kotlin

1.4

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

Since Kotlin

1.8

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

Since Kotlin

1.8

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

Since Kotlin

1.8

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

Since Kotlin

1.8