Post Reply 
(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)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (48G) GCD: Greatest Common Divisor - Albert Chan - 08-31-2018 12:12 PM



User(s) browsing this thread: 2 Guest(s)