[1154] in Athena Bugs
xcalc -rpn
daemon@ATHENA.MIT.EDU (nhdoerry@ATHENA.MIT.EDU)
Mon Oct 10 15:13:37 1988
From: <nhdoerry@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Cc: nhdoerry@ATHENA.MIT.EDU
Date: Mon, 10 Oct 88 15:13:03 EDT
xcalc -rpn does not handle the stack correctly. For example if
you enter :
1
ENTR
2
ENTR
3
*
+
The answer is 8 instead of the desired 7. When the multiplication
is done, the 2 should be pulled from the stack and the 1 should
move up, instead the 2 is left there for the addition.