Bug 109029 - Kcalc produces strange rounding errors on integer addition with default settings
Summary: Kcalc produces strange rounding errors on integer addition with default settings
Status: RESOLVED DUPLICATE of bug 97561
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Klaus Niederkrüger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-13 16:40 UTC by Michael Nottebrock
Modified: 2005-07-15 04:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nottebrock 2005-07-13 16:40:21 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    FreeBSD Ports
OS:                FreeBSD

Example:
45+1 gives 46.00000000000000710542735760100185871124 (the display shows 46,00000000000001).

This is easily overlooked - checking decimal precision or lowering the maximum number of digits will fix the calculator display, but not the full number you get when copying the result out of kcalc.
Comment 1 Thiago Macieira 2005-07-14 05:55:55 UTC

*** This bug has been marked as a duplicate of 34765 ***
Comment 2 Rolf Viehmann 2005-07-14 18:43:56 UTC
Yes, this bug exists, I got another value (46.00000000000000001734723475976807094412), but that's still noch quite perfect. Also I think this is NOT a duplicate of 34765 (which I also voted for).
Comment 3 Aaron Williams 2005-07-14 21:59:55 UTC
It's a duplicate of bug 103256.
Comment 4 Thiago Macieira 2005-07-15 04:28:43 UTC
Reopening to mark as duplicate of another.
Comment 5 Thiago Macieira 2005-07-15 04:29:52 UTC

*** This bug has been marked as a duplicate of 97561 ***