Red Hat Bugzilla – Bug 836970
Error in gcalctool parser, wrong associations with square
Last modified: 2016-09-19 22:14:39 EDT
+++ This bug was initially created as a clone of Bug #833006 +++
Description of problem:
If I do not enter any binary operator, the gcalctool thinks it's only one token entered, that's wrong.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
-3^2 should give me -9, not 9.. The square is associated from right, it means -3^2 it's the same as -(3)^2, not (-3)^2 as gcalctool pretends. Only way how to reach -9 is to enter -1*3^2 and that's really ugly solution.
The bug is not present in the latest gnome-calculator (gnome-calculator-3.8.2-1.el7.x86_64). Closing this bug as fixed then