Public bug reported:

Binary package hint: gcalctool

1. Ubuntu 10.10

2. gcalctool:
  Installed: 5.32.0-0ubuntu4
  Candidate: 5.32.0-0ubuntu4
  Version table:
 *** 5.32.0-0ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main i386 
Packages
        100 /var/lib/dpkg/status
     5.32.0-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages

3. Step 1: Type (without quotes): "48/2(9+3)"
    Step 2: Expected result: 288
4. Actual result: 2

Additional Notes: Typing in (without quotes): "48/2*(9+3)" gives the
correct result of 288. My guess is that the left parenthesis after the 2
is lexed at the binding of a function call rather than an implied
multiplication.

** Affects: gcalctool (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gcalctool in Ubuntu.
https://bugs.launchpad.net/bugs/756277

Title:
  Incorrect Evaluation Order for Implied Multiplication

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to