Re: Bug in gnome calculator
- From: Claudio Bley <bley CS uni-magdeburg de>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Bug in gnome calculator
- Date: Tue, 25 May 2004 12:53:15 +0200
On Tue, May 25, 2004 at 11:28:04AM +0200, Roberto Mantovani wrote:
Hi to all,
I've found a bug in gnome calculator :
performing this calculation:
(11*9+5.5*14+35)*0.19+2*10*0.19
the result is : 544.578 that is obviously wrong
The correct result is : 43.89 and to obtain it I must enter this
expression:
((11*9)+(5.5*14)+(35))*0.19+(2*10*0.19)
It seems that gnome calculator has a wrong management of operators
precedence, I know that the operator precedence is : * / + -
Do you know if this bug has been already notified or not ?
Wath's the right place to notify this bug ?
Hello Roberto,
at first, this is gtk-app-devel -- a list for discussions about GTK+
application development. I think gnome-list would have been a more
appropriate list to direct such questions to.
Bugs usually should be reported to bugzilla (gnome.bugzilla.org).
You don't give much background information but I presume that you're
talking about gcalctool -- the calculator included in Gnome >= 2.4.
The documentation says:
"Gcalctool has Basic, Financial and Scientific modes.
Calculations are performed from left to right, with no arithmetic precedence."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"If you need arithmetic precedence, then you should use parentheses."
--
claudio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]