B Modulo C. Have a look at the example: Produces the remainder when x is divided by y.
A mod c = r1. So, the modulo of the sum of two numbers is equal to the sum of the modulo of those numbers calculated separately, then multiplied by the modulo divisor. Have a look at the example:
In this tutorial, we shall learn how to use arithmetic modulus operator with values of different.
Using the same , , , and as above, we would have: For example, given b = 5, e = 3 and m = 13, the solution c = 8 is the remainder of dividing 53 = 125 by 13. A mod b = r. C = be mod m.
Nessun commento:
Posta un commento