Public bug reported: Binary package hint: x11-apps
Under Ubuntu 8.04.1, running the version in x11-apps_7.3+1_i386.deb, the calculator program xcalc has problems with the order of operations. To recreate this bug, run "xcalc" from the command line, then type "2*2^2+2=". The result displayed should be "10", but instead it is "12". Note that "2+2*2^2=", "2^2*2+2=", "(2*2^2)+2=", and "2*(2^2)+2=" each give the correct result. My guess is that the program has problems when it must close two levels of implicit grouping at once. In effect, it treats the problematic input above as if it were "2*(2^2+2)=". This interpretation is consistent with other examples that I've tried. ** Affects: x11-apps (Ubuntu) Importance: Undecided Status: New ** Tags: xcalc -- xcalc has order-of-operations problems https://bugs.launchpad.net/bugs/275645 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs