mod

inline fun mod(other: UByte): UByte
inline fun mod(other: UShort): UShort
inline fun mod(other: UInt): UInt
inline fun mod(other: ULong): ULong

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

The result is always less than the divisor.

For unsigned types, the remainders of flooring division and truncating division are the same.