mod
The modulo operation.
Syntax
-
mod(a, b)
-
a
andb ≠ 0
are integers
-
-
mod(x, y)
-
x
andy ≠ 0
are real numbers
-
Description
If a
and b ≠ 0
are numbers, then mod(a, b) = a − ⌊a / b⌋⋅b
.
The modulo operation.
mod(a, b)
a
and b ≠ 0
are integers
mod(x, y)
x
and y ≠ 0
are real numbers
If a
and b ≠ 0
are numbers, then mod(a, b) = a − ⌊a / b⌋⋅b
.