shr

expect infix fun shr(bitCount: Int): Long(source)

Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.

Note that only the six lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..63.

Since Kotlin

1.0
actual infix fun shr(bitCount: Int): Long(source)

Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.

Note that only the six lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..63.

Since Kotlin

1.1
infix fun shr(bitCount: Int): Long(source)

Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.

Note that only the six lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..63.

Since Kotlin

1.0
actual infix external fun shr(bitCount: Int): Long(source)

Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.

Note that only the six lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..63.

Since Kotlin

1.3
actual infix inline fun shr(bitCount: Int): Long(source)

Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.

Note that only the six lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..63.

Since Kotlin

1.8
actual infix inline fun shr(bitCount: Int): Long(source)

Shifts this value right by the bitCount number of bits, filling the leftmost bits with copies of the sign bit.

Note that only the six lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..63.

Since Kotlin

1.8