Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
We define a ≡ b (mod c) if (a - b)/c is an integer.
#if y = 0, return 1.
#if y is even, put u = f(x, y/2, z) and return (u*u) mod z
|
No edit summary |
No edit summary |
||
Line 1:
We define a ≡ b (mod c) if (a - b)/c is an integer.
#if y = 0, return 1.
#if y is even, put u = f(x, y/2, z) and return (u*u) mod z
|