DivideRemainder

interface DivideRemainder<in Left, in Right, out Result> : KoneContext(source)

An operation context for Euclidean division (division with remainder).

Type Parameters

Left

The type of the left operand (dividend).

Right

The type of the right operand (divisor).

Result

The type of the result containing both quotient and remainder.

Functions

Link copied to clipboard
abstract infix fun Left.divrem(other: Right): Result

Performs Euclidean division of this element by other.