GNOME Bugzilla – Bug 303247
calculator doesn't respect order of operations (arithmetic precedence) in scientific mode
Last modified: 2005-05-06 14:19:21 UTC
Distribution: Debian 3.1 Package: gcalctool Severity: normal Version: GNOME2.8.3 unspecified Gnome-Distributor: Debian Synopsis: calculator doesn't respect order of operations (arithmetic precedence) in scientific mode Bugzilla-Product: gcalctool Bugzilla-Component: general Bugzilla-Version: unspecified Description: Description of Problem: 2+2*3 yields 12, instead of 8. Steps to reproduce the problem: 1. Enter calculation above. 2. See results. 3. Actual Results: 12 Expected Results: 8 How often does this happen? Every time. Additional Information: The documentation (in Section 4, "Technical Information") notes that the calculator ignores precedence rules. While this might be reasonable for "basic" mode, ignoring precedence rules in scientific mode violates the rule of "least astonishment". I've never heard of a "scientific calculator" that ignored precedence rules. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-05-06 13:32 UTC ------- The original reporter of this bug does not have an account here. Reassigning to the person who moved it here, unknown@bugzilla.gnome.org. Previous reporter was bugs.gnome.org@mukesh.agrawals.org.
The version of gcalctool in GNOME 2.10 understands arithmetic precedence. Time for your vendor to pick it up and use it, or you can download it and install it from: http://ftp.gnome.org/pub/GNOME/sources/gcalctool/5.5/ *** This bug has been marked as a duplicate of 121710 ***