After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 582310 - Some calculations give a negative zero
Some calculations give a negative zero
Status: RESOLVED DUPLICATE of bug 560802
Product: gnome-calculator
Classification: Core
Component: general
5.26.x
Other All
: Normal minor
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-12 12:11 UTC by Mathieu Comandon
Modified: 2009-05-12 23:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Mathieu Comandon 2009-05-12 12:11:04 UTC
Please describe the problem:
When typing  : 1.0-0.2-0.2-0.2-0.2-0.2 
The result is -0

In some other cases with 2.0-0.5-0.5-0.5-0.5 the result is 0

Steps to reproduce:
1. Type  1.0-0.2-0.2-0.2-0.2-0.2 
2. Read -0


Actual results:


Expected results:
0

Does this happen every time?
yes

Other information:
Comment 1 Robert Ancell 2009-05-12 23:36:15 UTC

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