Why is a − b mod m computed as a − b % m + m % m in C++ or Java? | Math and Number Theory question · AnyPrep