Distributed GCD Algorithm
From CasGroup
| Line 1: | Line 1: | ||
| + | =[http://utugijynure.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]= | ||
The '''distributed GCD algorithm''' belongs to a special class of | The '''distributed GCD algorithm''' belongs to a special class of | ||
[[Distributed Algorithm|distributed algorithms]] for mathematical operations. | [[Distributed Algorithm|distributed algorithms]] for mathematical operations. | ||
| Line 24: | Line 25: | ||
Receive (int e) | Receive (int e) | ||
{ | { | ||
| - | if (e | + | if (e < z) |
{ | { | ||
z = ((z-1)%e)+1); | z = ((z-1)%e)+1); | ||