Pythagorean Triples
|
02-09-2017, 08:57 PM
(This post was last modified: 02-09-2017 08:59 PM by Dieter.)
Post: #4
|
|||
|
|||
RE: Pythagorean Triples
(02-09-2017 02:49 PM)Joe Horn Wrote: Pythagorean Triple Generator in RPL: Here's a stack-only version for the '41: Code: 01 LBL"TRIPLE" Input is N ENTER M, output is a, b and c in X, Y and Z. This may also be used on the 42s. Just make sure all registers refer to the stack, i.e. STO Z means STO ST Z. And I am sure you can still squeeze out the one or other byte here. ;-) Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Pythagorean Triples - Eddie W. Shore - 02-09-2017, 05:42 AM
RE: Pythagorean Triples - Dieter - 02-09-2017, 08:49 AM
RE: Pythagorean Triples - Joe Horn - 02-09-2017, 02:49 PM
RE: Pythagorean Triples - Dieter - 02-09-2017 08:57 PM
|
User(s) browsing this thread: 1 Guest(s)