Micro challenge: improve this RPN code
|
12-18-2019, 04:53 PM
Post: #2
|
|||
|
|||
RE: Micro challenge: improve this RPN code
I don't know 29C, but seems you can save code by (a+b)/2 = b + (a-b)/2
Example, for HP12C, a=10, b=2 10 Enter 2 STO 1 ; M1=b - 2 / STO 2 ; M2 = (a−b)/2 STO+ 1 ; M1 = (a+b)/2 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Micro challenge: improve this RPN code - David Hayden - 12-18-2019, 04:15 PM
RE: Micro challenge: improve this RPN code - Albert Chan - 12-18-2019 04:53 PM
RE: Micro challenge: improve this RPN code - rprosperi - 12-18-2019, 07:40 PM
RE: Micro challenge: improve this RPN code - hth - 12-18-2019, 07:45 PM
RE: Micro challenge: improve this RPN code - David Hayden - 12-18-2019, 08:58 PM
|
User(s) browsing this thread: 1 Guest(s)