Modular Arithmetic Calculator
JavaScript's % is a remainder, not a modulus: -7 % 3 is -1 where clock arithmetic wants 2. Everything here uses the true modulus.
JavaScript's % is a remainder, not a modulus: -7 % 3 is -1 where clock arithmetic wants 2. Everything here uses the true modulus.