Bug 109029

Summary: Kcalc produces strange rounding errors on integer addition with default settings
Product: [Applications] kcalc Reporter: Michael Nottebrock <lofi>
Component: generalAssignee: Klaus Niederkrüger <kniederk>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:

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 ***