Post Reply 
(35s) Stack-only quadratic solver
06-07-2021, 09:41 AM
Post: #4
RE: (35s) Stack-only quadratic solver
(06-07-2021 01:26 AM)Liam Hays Wrote:  I'm not 100% sure, but I think it works like this: if those functions sit alone on a single line, they aren't equations. I think equations are only triggered when you specifically enter one with the EQN key.

But to trigger REGx commands in 35s you have to press EQN and RDN. Anyway I considered them short equations to help the flow of the program. For your information, in HP42s there are equivalent commands like RCL STCK x.

In any case I don't consider any gain having 100ms faster code except for a routine which is to be called 100 times a second, like functions for integration. In that last case I have the suspicion that when the program is in ALG mode or has an EQN inside, the 35s translate the whole program before executing it, so the speed remains the same. More tests must be done...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (35s) Stack-only quadratic solver - mchris - 06-07-2021 09:41 AM



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