If it were by design, what would be the calculation order rule?
It calculates 2*2^2+2 so that + has higher precedence than *.
On the other hand, it calculates 2*2²+2, 2+2*2^2 and 2*2+2 so that * has higher 
precedence than +.
This is a bug.

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

Title:
  xcalc has order-of-operations problems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/x11-apps/+bug/275645/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to