GNOME Bugzilla – Bug 725319
Calculation of large factorials give wrong answer
Last modified: 2014-12-22 20:41:09 UTC
Steps to reproduce the bug: Enter 1000! or try calculating factorial of any larger no, the answer is 0. This bug can be resolved by removing an if condition which checks overflow but I am not quite sure about the substitute condition for overflow.
Elita, Thank you for the report. The issue has been fixed in master branch. The Calculator will now generate correct answer or show "Overflow error". The back-end now uses a dconf-tweakable precision setting. You can increase the precision (at the cost of computing time) if required. Reference commit : https://git.gnome.org/browse/gnome-calculator/commit/?id=0e863eeb121d670d8f5266a82b6152e98b2428ea Hope this helps.. :)