Post Reply 
Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
09-16-2014, 11:46 AM
Post: #18
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
(09-16-2014 11:26 AM)Didier Lachieze Wrote:  A little shorter, using a user flag instead of register Z, same stack & Last X management:

Nice effort. I knew it could be improved.

Another step forward would be to preserve the flag as well by using an extra label and another subroutine level:

Code:
LBL T
FS? 4
GTO S
GSB S
CF 4
RTN

And change the sign function to always set flag 4 at the end instead of clearing it.


Pauli
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! - Paul Dale - 09-16-2014 11:46 AM



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