rem

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

Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).

The result is always less than the divisor.

Since Kotlin

1.5