After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688598 - Counter intuitive handling of exponents in Advanced mode.
Counter intuitive handling of exponents in Advanced mode.
Status: RESOLVED DUPLICATE of bug 681775
Product: gnome-calculator
Classification: Core
Component: general
3.10.x
Other Linux
: Normal major
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-18 18:41 UTC by Ed Sirett
Modified: 2014-12-23 04:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ed Sirett 2012-11-18 18:41:45 UTC
I was helping my son on an A-level (high-school) physics problem. 
I entered 4 then "x10y" then -20 then / then 2 then "x10y" then 14.

That is I wanted to calculate 4e-20/2e14  and was expecting the result 2e-34.
what was obtained was 2e-6.  

The problem is the "x10y" button inserts a "times 10 to the" into the calculation. The problem is essentially a one of operator precedence. 
The intuitive expectation (and the behaviour of most other scientific/engineering calculators) is that the "x10y" is applied firstly to the preceding 'mantissa' before the rest of the calculation. This operator binding should be as, or nearly as, strong as a ()s.
Comment 1 Michael Catanzaro 2014-12-23 04:19:44 UTC

*** This bug has been marked as a duplicate of bug 681775 ***