Calculator gives wrong answers after undo

Bug #1316247 reported by F.H.
28
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gnome-calculator (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On a clean installation of Ubuntu 14.04, 64-bit. Steps to reproduce:

1. Open calculator and type "5000/60" followed by <Enter>. The calculator produces the right answer, 83.333...

2. Type "/60" followed by <Enter> to divide by 60 again. The calculator again produces the right answer, 1.388...

3. Press <ctrl>-Z to undo the last calculation.

4. Press <backspace> twice to delete the last "60".

5. Type "12" followed by <Enter>, to divide by 12 instead.

The calculator gives me the wrong answer!!!

See attached screenshot.

Revision history for this message
F.H. (fheinsen) wrote :
affects: darktable (Ubuntu) → gnome-calculator (Ubuntu)
Revision history for this message
Alex (a-t-page) wrote :

Looks like a duplicate of:

https://bugs.launchpad.net/gnome-calculator/+bug/1182014

Apparently this has been a problem through Ubuntu 13.04 and 13.10. I also just noticed it when I went from 12.04 to 14.04.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-calculator (Ubuntu):
status: New → Confirmed
Revision history for this message
arr (alan-drop-share) wrote :

I would say that this bug can be VERY Critical...

I still remeber when people laught at windows calculator bug....

Revision history for this message
Rei (re1nald0) wrote :

Any updates regarding this bug? I often do simple calculations like below and the calculator always produces wrong results:
1. 11 x 120 = 1,320 (correct)
2. 1,320 x 11,500 = 15,180,000 (correct)
3. Press undo
4. 1,320 x 11,300 = 171.534.000.000 (wrong)

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

Other bug subscribers

Bug attachments

Remote bug watches

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