boricj / numworks-rpn

RPN calculator for NumWorks
Other
36 stars 12 forks source link

ROT stack is wrong after DUP #25

Closed Stanley00 closed 4 years ago

Stanley00 commented 4 years ago

Step to reproduce

1 EXE 2 EXE 3 EXE EXE ( <= now it just rotates 3 numbers while stack has 4 numbers

Environment

Omega version 1.19.2 on Android phone

boricj commented 4 years ago

ROT is behaving like its counterpart in HP's RPN calculators. What you're describing sounds like "n ROLL" in RPL, which is not implemented, but you can copy any number on the stack to the input field by selecting it and pressing OK/EXE.

This app is meant to emulate HP's traditional RPN calculators. I'll close this issue since ROT behaves as designed, feel free to re-open it if you actually want "n ROLL" implemented.

Stanley00 commented 4 years ago

Oh, you're right. I was just mis-understand behavior of ROT then. This issue could be closed. Thank you.