Algosim documentation: mod

mod

The modulo operation.

Syntax

Description

If a and b ≠ 0 are numbers, then mod(a, b) = a − ⌊a / b⌋⋅b.

See also