Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: Be aware of a Calculator widget bug' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Be aware of a Calculator widget bug
Authored by: DocMan on May 24, '05 01:47:02PM

Actually with a cheap $5 calculator, you cannot enter a complex calculation and have it evaluate the entire calculation at once. Such calculators are only capable of evaluating two operands with a single operator. So it's not possible to enter 1 + 2 * 3.

Any calculator where is is possible to enter multiple operators and construct complex calculations MUST evaluate the calculation according to the established rules of mathematical heirarchy.

That said, I haven't played with the widget calculator, so I don't know which class of calculator it falls into.


[ Reply to This | # ]
10.4: Be aware of a Calculator widget bug
Authored by: sbieniek on May 24, '05 02:12:25PM

I believe it works like the old skool CPA calculators (The ones with the little receipt rolls), you have all seen them.

Anyone who has had an advanced math course will be driven batty by them, the way they make you enter complex calcuations. Basically, any time you enter a calculation, 5+5 and then hit the "*" key, it acts as an "=" key before performing your calculation. So the calculator does the math, (in this case =10, and awaits your input for the multiplication)

In this instance...the calculator is assuming you are smart enough to recognize the order of operations, and are giving the input accordingly. If you want your calculator to do more than that, then pick up a more advanced version. I believe someone has already said this widget was designed to balance your checkbook. It is truly a sad day that people need a calculator for that, but that is for another debate. I would imagine a calculator that interprets your input for you would take up far more valuable RAM than many are willing to give it...but then again, you probably need the calculator to figure out just how much RAM it would actually need. :)

[ Reply to This | # ]