The OpenD Programming Language

divmod

Signed divide c1 / c2. The remainder after division is stored to modulus.

nothrow @safe @nogc pure
Cent
divmod
(
Cent c1
,
Cent c2
,
out Cent modulus
)

Parameters

c1 Cent

dividend

c2 Cent

divisor

modulus Cent

set to c1 % c2

Return Value

Type: Cent

quotient c1 / c2

Meta