Favorite HP-41 programs and techniques
|
01-28-2021, 06:31 PM
Post: #4
|
|||
|
|||
RE: Favorite HP-41 programs and techniques
(01-28-2021 03:55 PM)smartin Wrote: What are your favorite well-crafted FOCAL programs? The Greatest Common Divisor & Lowest Common Multiple routine that computes GCD(a,b) & LCM(a,b) and calculates a' = a/GCD(a,b) & b' = b/GCD(a,b) without the use of any flag, registre, subroutine or specific module in no more than sixteen steps. Code:
Code: STACK INPUTS OUTPUTS |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)