Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROT stack is wrong after DUP #25

Closed
Stanley00 opened this issue May 4, 2020 · 2 comments
Closed

ROT stack is wrong after DUP #25

Stanley00 opened this issue May 4, 2020 · 2 comments

Comments

@Stanley00
Copy link

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

@Stanley00 Stanley00 changed the title Stack counter is wrong ROT after DUP ROT stack is wrong after DUP May 4, 2020
@boricj
Copy link
Owner

boricj commented May 4, 2020

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.

@boricj boricj closed this as completed May 4, 2020
@Stanley00
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants