https://bugs.kde.org/show_bug.cgi?id=523430

            Bug ID: 523430
           Summary: 1,0000000000000000000001 * 1 = 1
    Classification: Applications
           Product: kcalc
      Version First 26.04.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
I needed a small calc for my expense sum which I could trust not to do
roundings. I did a small test and kcalc failed me here :/
As far as I know 1,0000000000000000000001 * 1" should be
"1,0000000000000000000001"not "1".

`bc` does the right thing but not everyone I talk to trusts me to give them
accurate results from a terminal.
```
bc 1.08.2
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2018, 2024 Free
Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
1.0000000000000000000000000000000001 * 1
1.0000000000000000000000000000000001
``

I would expect Kcalc to use a system which avoids rounding errors, like CASIO
pocket calculators. 

SOFTWARE/OS VERSIONS
[ ~ |0] kinfo
Operating System: Arch Linux 
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Memory: 32 GiB of RAM (30.5 GiB usable)
Graphics Processor: AMD Radeon 890M Graphics

ADDITIONAL INFORMATION
kcalc --version
kcalc 26.04.3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to