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 650944 - No more than 9 decimal digits
No more than 9 decimal digits
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on: 698400
Blocks:
 
 
Reported: 2011-05-24 09:38 UTC by Dimitrios Ntoulas
Modified: 2014-12-22 19:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dimitrios Ntoulas 2011-05-24 09:38:21 UTC
1. If you try to calculate 0.01^5 the result is 0. This is wrong !

2. Also in settings there is only 9 decimal digit as maximum value, this should be increased.
Comment 1 Gopal Krishnan 2012-07-27 15:58:26 UTC
The answer is coming to zero because the maximum number of digits is set to 9 so 0.01^5 is 9 zeroes and then a 1 which means rounded to 0. Its essentially due to the 9 digit limitation.
Comment 2 PioneerAxon 2014-12-22 19:52:00 UTC
Dimitrios,

Thanks for the bug report.
The bug is fixed in the master branch. Now the precision can be extended upto 100 digits after decimal point.

Hope this fixes the issue.

For reference : https://git.gnome.org/browse/gnome-calculator/commit/?id=0e863eeb121d670d8f5266a82b6152e98b2428ea

Thank you.. :)