rem

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

Returns the remainder after dividing this value by other.

Uses unsigned magnitudes; a nonzero remainder is smaller than the divisor.

Return

the ULong remainder.

Parameters

other

divisor.

Throws