[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

FW: kcalc math bug?



Unlike the physical calculators, which compute the result before any
other math key is pressed, the software calculators do the compuation in
the end.

You would get 252, even if you use the calculator in windows 98/2000/XP
(I just tried out of curiousity)!

-Ramesh

| -----Original Message-----
| From: Mike Fedyk [mailto:mfedyk@matchmail.com] 
| Sent: Friday, March 29, 2002 6:05 PM
| To: debian-user@lists.debian.org
| Subject: Re: kcalc math bug?
| 
| 
| > > run these calculations:
| > > 
| > > 1x2+5x50 (in this order, not in normal precedence order that 
| > > 1x2+computers and
| > > etc use...)
| > > 
| > > And it outputs 252 not 350!
| > 
| > It should be 252 anyway. Any calculation tool should use the 
| > conventional precedence.
| 
| NO. Not if I enter it in a specific order.
| 
| 1x2 = 2
| 
| 2+5 = 7
| 
| 7x50 = 350
| 
| Not 252!
| 
| That is how a calculator should work when you are typing in 
| the calculation by *hand*!  I shouldn't have to worry about 
| precedence then.
| 
| This app is supposed to replace the calculator I can buy for 
| $10.  And that is how it should work.
| 
| Remember, we are working with hand entered calculations that 
| go into the app in a certain order, and *that* is the order 
| that it should be calculated...
| 
| Mike


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: