Substraction gives erroneous result

Bug #344706 reported by Hervé Fache
2
Affects Status Importance Assigned to Milestone
KDE Base
Fix Released
Medium
kdebase-workspace (Ubuntu)
Invalid
Low
Unassigned

Bug Description

In Jaunty, I type Alt-F2 to start krunner. Then I type my calculation: '=66.02 -25.37'
It gives me the following result: '40.64999999999999'

Same if I type '66.02 - 25.37 ='

$ lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04

$ apt-cache policy kdebase-workspace-bin
kdebase-workspace-bin:
  Installed: 4:4.2.1a-0ubuntu6
  Candidate: 4:4.2.1a-0ubuntu7
  Version table:
     4:4.2.1a-0ubuntu7 0
        500 http://archive.ubuntu.com jaunty/main Packages
 *** 4:4.2.1a-0ubuntu6 0
        100 /var/lib/dpkg/status

Revision history for this message
Hervé Fache (rvfh) wrote :

Checked again after update.
66.0'=66.02-25' -> '= 41.019999999999996'

Useless to say that Speedcrunch is NOT affected by bug!

$ apt-cache policy kdebase-workspace-bin
kdebase-workspace-bin:
  Installed: 4:4.2.1a-0ubuntu9
  Candidate: 4:4.2.1a-0ubuntu9
  Version table:
 *** 4:4.2.1a-0ubuntu9 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Harald Sitter (apachelogger) wrote :

Easily reproduced :)

Needs to be filed at http://bugs.kde.org ... gotta poke someone into doing that...

Changed in kdebase-workspace (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Hervé Fache (rvfh) wrote : Re: [Bug 344706] Re: Substraction gives erroneous result

I'll file it into KDE's bug tracker. Should have done it already, but you
know what it is...

Revision history for this message
Hervé Fache (rvfh) wrote :
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Thank you very much.

Changed in kdebase:
importance: Undecided → Unknown
status: New → Unknown
Changed in kdebase-workspace:
status: Confirmed → Triaged
Changed in kdebase:
status: Unknown → New
Revision history for this message
Hervé Fache (rvfh) wrote :

Sorry, there was a bug open with a number of other oddities from krunner's
calculator:
https://bugs.kde.org/show_bug.cgi?id=167986

Changed in kdebase:
status: New → Invalid
Revision history for this message
Hervé Fache (rvfh) wrote :

This bug is still valid. It should just point to a different bug number in
KDE's bug database.

Changed in kdebase:
status: Invalid → Unknown
Changed in kdebase:
status: Unknown → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fixed upstream in the KDE 4.2.3 branch, but I'll backport the fix to our KDE 4.2.2 to make sure thta they get in before Kubuntu 9.04 is released.

Changed in kdebase-workspace (Ubuntu):
assignee: nobody → echidnaman
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Oops, wrong bug.

Changed in kdebase-workspace (Ubuntu):
assignee: echidnaman → nobody
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. But don't worry! This issue is being tracked by the KDE developers at: http://bugs.kde.org/show_bug.cgi?id=167986
Once fixed in KDE, it will be included in Kubuntu once the KDE version the fix is in in reaches Kubuntu.

Thanks!

Changed in kdebase-workspace (Ubuntu):
status: Triaged → Invalid
Changed in kdebase:
status: Confirmed → Fix Released
Changed in kdebase:
importance: Unknown → Medium
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.