(48G) GCD: Greatest Common Divisor
|
08-31-2018, 12:12 PM
(This post was last modified: 08-31-2018 11:45 PM by Albert Chan.)
Post: #3
|
|||
|
|||
RE: (48G) GCD: Greatest Common Divisor
Hi, Werner:
I like your shorter version ! But, it is slightly different than Thomas Klemm code. Instead of confirming nonzero x before y % x, it test for y instead. (Bill Wickes version also assumed start with nonzero x) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)