gcalctool does default "^" sanely

Bug #16504 reported by Jeff Hodges
8
Affects Status Importance Assigned to Milestone
gcalctool (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

This bug may be needed to be moved upstream. When a user enters a statement
with exponentiation using the keyboard, instead of seeing the proper "^" in the
statement, they will have entered in "XOr". Example: "5^2" entered with the
keyboard will become (and be calculated as) "5 XOr 2". I'm not so sure that
many developers find this handy and for myself and the average user, "^" should
be exponentiation, not an exclusive or. There seems to be no other sane keycode
for entering in exponentiation from the keyboard. Even "**" tosses up a
malformed statement error. This interpretation of the "^" keycode needs to be
changed into the nicely sane default of exponentiation.

[In case someone goes crazy: "**" should not be used as the new keycode for
exponentiation for a variety of reasons; the most basic of these is that "**"
does not exist as an operator for most users and mathematicians (unless they
happen to be doing some numerical analysis).]

Revision history for this message
Jeff Hodges (jmhodges) wrote :

This bug has been marked as a duplicate of bug 16505.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.