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 451286 - 0 power of 0
0 power of 0
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
5.9.x
Other All
: Normal normal
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2007-06-26 15:26 UTC by Jérôme Guelfucci
Modified: 2007-06-26 17:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Patch to fix the problem. (612 bytes, patch)
2007-06-26 16:59 UTC, Rich Burridge
committed Details | Review

Description Jérôme Guelfucci 2007-06-26 15:26:43 UTC
Please describe the problem:
This was reported on Launchpad : https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/122315
by : https://bugs.launchpad.net/~bratherlui

0 to the power of 0 is defined as 1, but the gcalctool can't calculate it.

Steps to reproduce:
Calculate 0^0.


Actual results:
We get "Math operation error".

Expected results:
1 should appear.

Does this happen every time?
Yes

Other information:
Comment 1 Rich Burridge 2007-06-26 16:59:56 UTC
Created attachment 90673 [details] [review]
Patch to fix the problem.
Comment 2 Rich Burridge 2007-06-26 17:01:21 UTC
Fix checked into SVN HEAD. It will also appear in gcalctool
v5.19.5 in about two weeks time.
Comment 3 Jérôme Guelfucci 2007-06-26 17:54:10 UTC
Thank you !