rem

inline operator fun rem(other: UByte): ULong
inline operator fun rem(other: UShort): ULong
inline operator fun rem(other: UInt): ULong
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.