What is modular arithmetic ?

By | February 5, 2015

What is modular arithmetic ?

Different from saturation arithmetic , in modular arithmetic on reaching a certain value the number is wrap around, by using modulo. Modern microprocessor system uses this arithmetic.

The best example of modular arithmetic is the clock. It is the mod of 12

e.g. if value goes beyond, as like person x tells you it’s 33 hours now, then ;

33 mod 12 = 9 thus, you can get to know it’s 9 !