shr (original) (raw)
Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.
Note that only the five lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..31
.
Since Kotlin
1.0
Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.
Note that only the five lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..31
.
Since Kotlin
1.1
Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.
Note that only the five lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..31
.
Since Kotlin
1.0
Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.
Note that only the five lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..31
.
Since Kotlin
1.3
Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.
Note that only the five lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..31
.
Since Kotlin
1.8
Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.
Note that only the five lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..31
.
Since Kotlin
1.8