Post Reply 
(35S) Bézout or EGCD
02-17-2015, 07:57 PM
Post: #8
RE: HP 35S: Bézout or EGCD
(02-17-2015 07:29 PM)Dieter Wrote:  
(02-17-2015 08:49 AM)Tugdual Wrote:  My 2 cents GCD program, nothing special here, I just like the simplicity Smile

Whoa... 10 (ten!) steps. Obviously you never used a calculator with limited memory. ;-)

Code:
A001 LBLA
A002 RMDR
A003 LASTx
A004 x<>y
A005 x≠0?
A006 GTO A002
A007 +
A008 RTN

Yes, it's the same method.

Dieter
Oh wow I would have sworn RMDR was requiring a specific sort order...
I like the final "A007 +" Big Grin
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(35S) Bézout or EGCD - Gerald H - 12-20-2014, 05:05 PM
RE: HP 35S: Bézout or EGCD - Thomas Klemm - 12-21-2014, 02:37 AM
RE: HP 35S: Bézout or EGCD - Gerald H - 12-22-2014, 04:32 PM
RE: HP 35S: Bézout or EGCD - Tugdual - 02-17-2015, 08:49 AM
RE: HP 35S: Bézout or EGCD - Gerald H - 02-17-2015, 09:42 AM
RE: HP 35S: Bézout or EGCD - Tugdual - 02-17-2015, 10:04 AM
RE: HP 35S: Bézout or EGCD - Dieter - 02-17-2015, 07:29 PM
RE: HP 35S: Bézout or EGCD - Tugdual - 02-17-2015 07:57 PM



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