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-X,
which is subscribed to x11-apps in 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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to