Public bug reported:

I found this bug trying to make a substraction with a previous result.
Do a calculation without decimals which gives a negative result. after
that, use arroy keys to move at the beggining of the input, I introduced
a positive number without sign and pressed enter.

First calc: −512−165+412−60
Previous result: -325
New input using previous result: 1849-325
Expected result: 1524
Given result: -600925

I think that it's a overflow problem.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-calculator 3.24.0
Uname: Linux PC-UG-0317 4.10.0-20-generic #22-Ubuntu x86_64 x86_64 GNU/Linux
SourcePackage: gnome-calculator

** Affects: gnome-calculator (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687053

Title:
  Incorrect result in a calc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calculator/+bug/1687053/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to