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

            Bug ID: 376655
           Summary: Operations on Modulus operator were causing other
                    operators to be erroneous
           Product: kcalc
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: NOR
         Component: general
          Assignee: ete...@alum.rit.edu
          Reporter: looser...@gmail.com
  Target Milestone: ---

KDE Frameworks 5.31.0
Qt 5.8.0 (built against 5.8.0)
The xcb windowing system

[Input] uname -a
[Output] Linux looserof7 4.4.48-1-MANJARO #1 SMP PREEMPT Thu Feb 9 22:17:50 UTC
2017  x86_64 GNU/Linux

I have noticed that modulus operations weren't accurate,

7%3 = 0.21 (from krunner, considering that modulus operator gives percentage)

steps to reproduce:
open kcalc,
step-1: Now select any mode from settings drop-down menu.
step-2: Type in 13 % 2 and then press =, I get no answer.

step-1: select Numeral System mode.
step-2: type in 100 / 2  this equals 50
step-3: type in 13 % 2 this gives no answer,
step-4: click on AC (Clear all),
step-5: type in 100 / 2 (In my case this equals to 5,000)

repeat steps 3 and 4:
step-5: type in 100 * 2 (I don't get answer)

What I mean to say is using Modulus operator is leading other calculations to
be erroneous.

Please fix this bug.
Thank you.

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

Reply via email to