Go backward to Periodic Functions Go up to Top Go forward to Example |
Definition:
mod: (R x R) -> R x mod y := x - y*floor(x/y).
Proposition: We have, for every x in R and y in R with y != 0,
x = y*floor(x/y) + x mod y.
Division and remainder on R.