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 127316 - Gcalctool returns wrong answer
Gcalctool returns wrong answer
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2003-11-18 16:14 UTC by Sami Pietilä
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
Fix for the problem. (822 bytes, text/plain)
2003-11-24 18:39 UTC, Rich Burridge
Details

Description Sami Pietilä 2003-11-18 16:14:54 UTC
Gcalctool gives answer -9.956824445e-60 to calculation "1/3*3-1".
Comment 1 Rich Burridge 2003-11-24 18:39:54 UTC
Created attachment 21772 [details]
Fix for the problem.
Comment 2 Rich Burridge 2003-11-24 18:46:18 UTC
The "fix" introduced in gcalctool v4.1.18 to fix Sun
Bugtraq bug #1258472 against CDE dtcalc (which was 
also a problem with gcalctool) was incorrect.

Changes checked into CVS HEAD. Fixed in v4.3.20