rem

inline operator fun rem(other: UByte): UInt
inline operator fun rem(other: UShort): UInt
inline operator fun rem(other: UInt): UInt
inline operator fun rem(other: ULong): ULong

Calculates the remainder of truncating division of this value by the other value.

The result is always less than the divisor.