(35S) Bézout or EGCD
|
12-22-2014, 04:32 PM
Post: #3
|
|||
|
|||
RE: HP 35S: Bézout or EGCD
Here an alternative programme to the above, same input & output. I expected the time taken for calculations to be less than with the first progamme & don't really understand why that's not the case.
1 LBL E 2 STO H 3 x<>y 4 STO G 5 [H,1] 6 [G,0] 7 REGX*[1,0] 8 x=0? 9 GTO E022 10 REGZ 11 x<>y 12 / 13 [1,0] 14 * 15 IP 16 REGY 17 * 18 REGZ 19 - 20 +/- 21 GTO E007 22 REGZ*[1,0] 23 REGT*[0,1] 24 (REGY-REGX*H)/G 25 x<>y 26 RTN |
|||
« Next Oldest | Next Newest »
|
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)