rem

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

Returns the remainder after dividing this value by other.

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

Return

the UInt remainder.

Parameters

other

divisor.

Throws


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