kotlin-stdlib / kotlin / UShort / rem rem Common JVM JS Native 1.0 operator fun rem(other: UByte): UInt operator fun rem(other: UShort): UInt operator fun rem(other: UInt): UInt operator fun rem(other: ULong): ULong Calculates the remainder of dividing this value by the other value.