DictionarymodularRemainder-based arithmetic
adjective

modular

Relating to arithmetic based on remainders after division.

We use modular arithmetic to calculate times on a clock.

Etymology

Modulus, literally a small measure, names the number used as a basis for division. Modular arithmetic classifies numbers by their remainders relative to that modulus.

More examples

  • In modular arithmetic with modulus five, seven and two are equivalent.
  • The program uses modular addition to keep values within range.
  • Students solve modular equations by comparing remainders.

Forms

modular

modulus noun — Divisor that determines remainders in modular arithmetic.