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 560802 - Error in fractional addition
Error in fractional addition
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
5.24.x
Other Linux
: Normal normal
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
: 582310 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-14 14:14 UTC by Pedro Villavicencio
Modified: 2009-07-13 02:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Pedro Villavicencio 2008-11-14 14:14:29 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/gcalctool/+bug/272551

"1) Launch gcalctool
2) Set to scientific mode (ctr -s )
3) Set display type to "sci"
4) Do 1-0.9-0.1

The calculator returns -2.832847187e-219

There is an issues with the floating point routine used."
Comment 1 Robert Ancell 2008-11-15 04:56:25 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 527540 ***
Comment 2 Robert Ancell 2009-05-12 23:36:15 UTC
*** Bug 582310 has been marked as a duplicate of this bug. ***
Comment 3 Robert Ancell 2009-05-15 04:19:18 UTC
Committed fix to master:
http://git.gnome.org/cgit/gcalctool/commit/?id=6fd7e874611328e46dd291323b59798f867aa89c
This does not fix scientific notation however
Comment 4 Robert Ancell 2009-07-13 02:55:10 UTC
This now works as the internal representation is in base 10 (bug 585813)