shr

infix fun Byte.shr(other: Byte): Byte(source)
infix fun Byte.shr(other: Short): Byte(source)
infix fun Byte.shr(other: Int): Byte(source)
infix fun Byte.shr(other: Long): Byte(source)
infix fun Byte.shr(other: UByte): Byte(source)
infix fun Byte.shr(other: UShort): Byte(source)
infix fun Byte.shr(other: UInt): Byte(source)
infix fun Byte.shr(other: ULong): Byte(source)

Shifts this value to the right by the other value

Return

The shifted value

Since

0.3.0

Parameters

other

The shift value


infix fun Short.shr(other: Byte): Short(source)
infix fun Short.shr(other: Short): Short(source)
infix fun Short.shr(other: Int): Short(source)
infix fun Short.shr(other: Long): Short(source)
infix fun Short.shr(other: UByte): Short(source)
infix fun Short.shr(other: UShort): Short(source)
infix fun Short.shr(other: UInt): Short(source)
infix fun Short.shr(other: ULong): Short(source)

Performs a shr operation on this value and other

Return

The result of the bitwise and operation

Since

0.3.0

Parameters

other

The other value


infix fun Int.shr(other: Byte): Int(source)
infix fun Int.shr(other: Short): Int(source)
infix fun Int.shr(other: Long): Int(source)
infix fun Int.shr(other: UByte): Int(source)
infix fun Int.shr(other: UShort): Int(source)
infix fun Int.shr(other: UInt): Int(source)
infix fun Int.shr(other: ULong): Int(source)
infix fun Long.shr(other: Byte): Long(source)
infix fun Long.shr(other: Short): Long(source)
infix fun Long.shr(other: Long): Long(source)
infix fun Long.shr(other: UByte): Long(source)
infix fun Long.shr(other: UShort): Long(source)
infix fun Long.shr(other: UInt): Long(source)
infix fun Long.shr(other: ULong): Long(source)
infix fun UByte.shr(other: Byte): UByte(source)
infix fun UByte.shr(other: Short): UByte(source)
infix fun UByte.shr(other: Int): UByte(source)
infix fun UByte.shr(other: Long): UByte(source)
infix fun UByte.shr(other: UByte): UByte(source)
infix fun UByte.shr(other: UShort): UByte(source)
infix fun UByte.shr(other: UInt): UByte(source)
infix fun UByte.shr(other: ULong): UByte(source)
infix fun UShort.shr(other: Byte): UShort(source)
infix fun UShort.shr(other: Short): UShort(source)
infix fun UShort.shr(other: Int): UShort(source)
infix fun UShort.shr(other: Long): UShort(source)
infix fun UShort.shr(other: UByte): UShort(source)
infix fun UShort.shr(other: UShort): UShort(source)
infix fun UShort.shr(other: UInt): UShort(source)
infix fun UShort.shr(other: ULong): UShort(source)
infix fun UInt.shr(other: Byte): UInt(source)
infix fun UInt.shr(other: Short): UInt(source)
infix fun UInt.shr(other: Long): UInt(source)
infix fun UInt.shr(other: UByte): UInt(source)
infix fun UInt.shr(other: UShort): UInt(source)
infix fun UInt.shr(other: UInt): UInt(source)
infix fun UInt.shr(other: ULong): UInt(source)
infix fun ULong.shr(other: Byte): ULong(source)
infix fun ULong.shr(other: Short): ULong(source)
infix fun ULong.shr(other: Long): ULong(source)
infix fun ULong.shr(other: UByte): ULong(source)
infix fun ULong.shr(other: UShort): ULong(source)
infix fun ULong.shr(other: UInt): ULong(source)
infix fun ULong.shr(other: ULong): ULong(source)

Performs a shr operation on this value and other

Return

The result of the bitwise shr operation

Since

0.3.0

Parameters

other

The other value