takeHighestOneBit
Returns a number having a single bit set in the position of the most significant set bit of this Byte number, or zero, if this number is zero.
Since Kotlin
1.4Returns a number having a single bit set in the position of the most significant set bit of this Short number, or zero, if this number is zero.
Since Kotlin
1.4Returns a number having a single bit set in the position of the most significant set bit of this Int number, or zero, if this number is zero.
Since Kotlin
1.4Returns a number having a single bit set in the position of the most significant set bit of this Long number, or zero, if this number is zero.
Since Kotlin
1.4Returns a number having a single bit set in the position of the most significant set bit of this Int number, or zero, if this number is zero.
Since Kotlin
1.4Returns a number having a single bit set in the position of the most significant set bit of this Long number, or zero, if this number is zero.
Since Kotlin
1.4Returns a number having a single bit set in the position of the most significant set bit of this Int number, or zero, if this number is zero.
Since Kotlin
1.4Returns a number having a single bit set in the position of the most significant set bit of this Long number, or zero, if this number is zero.
Since Kotlin
1.4Returns a number having a single bit set in the position of the most significant set bit of this Int number, or zero, if this number is zero.
Since Kotlin
1.4Returns a number having a single bit set in the position of the most significant set bit of this Long number, or zero, if this number is zero.