floppy_stuttgart wrote:And: what is the result of that squeezed out byte?
I may use the saved byte elsewhere for something much more meaningful
[...] But for the beauty and symetrie of the entry sequence, clicking on "enter" after introducing "a" would make the symetrie of clicking "enter" after c and b and a.
I've got that, therefore my routine starts with the stack set as yours.
So, the only squeeze possibility was to avoid that RDN.
As just said I start with the same stack setup. Following one of my unhappy attempts, saving one byte only was not worth the effort. Result is almost the same as with your routine, mine shows the lower root in X -- I prefer that, as it complies with the common reading direction in Europe.
- Code: Select all
01▶LBL "QG3"
ST/ T + / STO T X^2
- CHS SQRT ENTER^ R^
ST- Z + CHS END
12,00000 ENTER^
-7,00000 ENTER^
1,00000 ENTER^
RUN
3,00000 ***
X<>Y
4,00000 ***
Well, others solve sudokus or do crosswords, my preferred brainteaser is "squeezing" HP-41 routines.