mod is:exact

Integer modulus, satisfying
(x `div` y)*y + (x `mod` y) == x
WARNING: This function is partial (because it throws when 0 is passed as the divisor) for all the integer types in base.
integer modulus, satisfying
(x `div` y)*y + (x `mod` y) == x
WARNING: This function is partial (because it throws when 0 is passed as the divisor) for all the integer types in base.
integer modulus, satisfying
(x `div` y)*y + (x `mod` y) == x
Integer modulus, satisfying: (x div y) * y + (x mod y) == x
Modulus.
mod x1 x2 returns x1 - x2 * (x1 div [x2])@. The terms are expected to have type Int.
Fast type-safe modular arithmetic Modular arithmetic, promoting moduli to the type level, with an emphasis on performance. Originally part of the arithmoi package.
Apply the mod operation to two streams, point-wise.
integer modulus, satisfying
(x `div` y)*y + (x `mod` y) == x