[Bug 130078] New - "y^x" button is really "x^y"

bugzilla-daemon@widget.gnome.org bugzilla-daemon@widget.gnome.org
Sat, 27 Dec 2003 10:29:05 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=130078

Changed by seb128@debian.org.

--- shadow/130078	Sat Dec 27 10:29:05 2003
+++ shadow/130078.tmp.30583	Sat Dec 27 10:29:05 2003
@@ -0,0 +1,35 @@
+Bug#: 130078
+Product: gcalctool
+Version: unspecified
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: general
+AssignedTo: rich.burridge@sun.com                            
+ReportedBy: seb128@debian.org               
+TargetMilestone: ---
+URL: 
+Cc: pkg-gnome-maintainers@lists.alioth.debian.org
+Summary: "y^x" button is really "x^y"
+
+This bug was originally reported in the Debian BTS:
+http://bugs.debian.org/223100
+
+"The 'y^x' button on gcalctool, with tooltip "y to the power of displayed
+value", *actually* behaves like an 'x^y' button and calculates "the displayed
+value to the y power".  For example, 2 y^x 5 = displays 32, not 25.
+
+I believe the current *functionality* is correct (that is, the most intuitive
+way to use the calculator is to read the expression in normal reading order),
+so it is the *label* (and tooltip) *not* the functionality, which should be
+changed.  But one way or another they should be made consistent.
+
+Note that the other buttons reinforce the idea that 'x' is the
+"displayed value", which means 'y' should be the "value entered after the
+operator"; for example the "e^x", "10^x" and "x!" buttons operate immediately
+on the displayed value and have tooltips stating "e to the power of displayed
+value", "10 to the power of displayed value", and "factorial of displayed
+value".  This just shows that it's not *just* the tooltip which is incorrect."