Post Reply 
(35s 42s/DM42 50G) Quadratic formula
05-04-2023, 10:57 PM
Post: #10
RE: (35s 42s/DM42 50G) Quadratic formula
(05-04-2023 09:02 PM)mchris Wrote:  50g
Code:
« 3 PICK / 3 ROLLD SWAP / 2 / NEG DUP SQ ROT – √ DUP2 + EVAL 3 ROLLD – EVAL »

On the HP 49 and HP 50, 3 PICK can be replaced by PICK3, and 3 ROLLD can be replaced by UNROT. Each of those changes saves 2.5 bytes and a small amount of time.

Also, on the 28 and 48, ROT ROT is faster than 3 ROLLD. This only matters inside a loop but it may be useful to know.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (HP35s) Quadratic formula - PedroLeiva - 05-25-2020, 11:23 AM
RE: (HP35s) Quadratic formula - mchris - 05-25-2020, 03:52 PM
RE: (HP35s) Quadratic formula - PedroLeiva - 05-25-2020, 04:19 PM
RE: (HP35s) Quadratic formula - pinkman - 05-25-2020, 04:25 PM
RE: (HP35s) Quadratic formula - PedroLeiva - 05-25-2020, 04:49 PM
RE: (HP35s) Quadratic formula - pinkman - 05-25-2020, 04:23 PM
RE: (35s 42s/DM42 50G) Quadratic formula - John Keith - 05-04-2023 10:57 PM



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