>>I don't do much with a calculator. I'm mostly curious.
>>I can't complain but I do anyway.
> I use ShowCalc, but after replicating what what you have I'm not sure I will > anymore....
That's a *small* round-off error. Have you tried doing the same thing in another calculator app? I *think* you might see the same result. . . IOW - I don't think ShowCalc is responsible for the error. . .
The answer is given in scientific notation. The "E-19" at the end indicates you should move the decimal point 19 spaces to the left to see the answer in standard notation.
I don't do much with a calculator. I'm mostly curious.
Cousin John Doe ....
''' The seemingly odd behavior you've observed with your example numbers is probably not a problem with the particular calculator program you're using but one that is common to all computations that use *floating poing* arithmetic ....
Many fractional values cannot be represented accurately in binary machines by floating point methods ....
Some floating numbers are first scaled and then converted to integer representation before computations are carried out ....
For example, money calculations ....
Following are the internal representations used for the example in Python ....
Floating Point ........... Internal Representation
a ....... : 2.87 .... 2.8700000000000001 b ....... : 1.88 .... 1.8799999999999999 c ....... : 0.99 .... 0.98999999999999999 d = a - b : 0.99 .... 0.99000000000000021 e = d - c : 0.00 .... 2.2204460492503131e-16
Scaled Integers ....
287 188 99 0 -1
Python code that prodced the output above follows .... '''
# floating point numbers
a = 2.87 b = 1.88 c = 0.99
d = a - b e = d - c
dict_floats = { 'a .......' : a , 'b .......' : b , 'c .......' : c , 'd = a - b' : d , 'e = d - c' : e }
I really like ShowCalc and have never had any problems with it, but would like to avoid problems like this. Can anyone recommend anything similar but better?
I also tried the PC Mag tape calculator, but it is not as good and it's not freeware anyway.
-- Iain Please check www.pricelesswarehome.org, the FAQ and Google Groups before posting in alt.comp.freeware.
>I really like ShowCalc and have never had any problems with it, but would >like to avoid problems like this. Can anyone recommend anything similar but >better?
>I also tried the PC Mag tape calculator, but it is not as good and it's not >freeware anyway.
> On 17 Jan 2005 15:52:28 GMT, Iain Cheyne > <myfirstn...@mysecondname.net> wrote:
>>"badgolferman" <REMOVETHISbadgolfer...@gmail.com> wrote in >>news:350mfaF4etbv9U1@individual.net: >>I also tried the PC Mag tape calculator, but it is not as good and it's >>not >>freeware anyway. > I've used SmartSum for several years,,
> I really like ShowCalc and have never had any problems with it, but would > like to avoid problems like this. Can anyone recommend anything similar but > better?
> I also tried the PC Mag tape calculator, but it is not as good and it's not > freeware anyway.
Take a look at CalcAnt, have used it for a long time with no problems. http://www.calcant.net/ site also in German but don't have link GoodTime Barnie
I'll try this out and the suggestions and let you know. I'm not sure what is a good all-round accuracy test though, so any suggestions would be appreciated. In the meantime, I'll use the calculation above.
>>>I don't do much with a calculator. I'm mostly curious.
>>>I can't complain but I do anyway.
>> I use ShowCalc, but after replicating what what you have I'm not sure >> I will anymore....
> That's a *small* round-off error. Have you tried doing the same thing > in another calculator app? I *think* you might see the same result. . > . IOW - I don't think ShowCalc is responsible for the error. . .
> The answer is given in scientific notation. The "E-19" at the end > indicates you should move the decimal point 19 spaces to the left to > see the answer in standard notation.
> IOW - ShowCalc is telling you that the answer is:
*Moffsoft FreeCalc* Nice simple interface. Passed the arithmetic test that ShowCalc failed. Just simple arithmetic operators. There is a advanced payware version.
*calcAnt* Passed the arithmetic test that ShowCalc failed. Just simple arithmetic operators. Initially installs with German text. You have to find the Options page to change to English. Interesting text editor mode, that you can use to save text files.
*AddUp* Passed the arithmetic test that ShowCalc failed. Just simple arithmetic operators. Slightly strange and ugly interface. Allows you to remove buttons text, if, like me, you use the number pad on your keyboard for input.
*ESBCalc* Slightly ugly, but simple interface. Passed the arithmetic test that ShowCalc failed. Includes scientific operators. There is a advanced payware version. There is a no-install option.
My favourite was ESBCalc. Its accuracy, no-install option, OK interface and many features mean it will replace ShowCalc.
If anyone else knows of good tape calculators or proper calculator accuracy tests, please let me know.
-- Iain Please check www.pricelesswarehome.org, the FAQ and Google Groups before posting in alt.comp.freeware.
>>>"badgolferman" <REMOVETHISbadgolfer...@gmail.com> wrote in >>>news:350mfaF4etbv9U1@individual.net: >>>I also tried the PC Mag tape calculator, but it is not as good and it's >>>not >>>freeware anyway. >> I've used SmartSum for several years,,
>looking at the screen shot, that appears to be adware, not freeware.
it's never offered ME an ad...and it still says 'free' in red letters...I have no idea why that screenshot looks like that...and I see no place on the web page that offers a way to pay ot remove any ads.....which, as I say, I have never seen... *shrug*
> *Moffsoft FreeCalc* > Nice simple interface. > Passed the arithmetic test that ShowCalc failed. > Just simple arithmetic operators. > There is a advanced payware version.
> *calcAnt* > Passed the arithmetic test that ShowCalc failed. > Just simple arithmetic operators. > Initially installs with German text. You have to find the Options > page to change to English. > Interesting text editor mode, that you can use to save text files.
> *AddUp* > Passed the arithmetic test that ShowCalc failed. > Just simple arithmetic operators. > Slightly strange and ugly interface. > Allows you to remove buttons text, if, like me, you use the number > pad on your keyboard for input.
> *ESBCalc* > Slightly ugly, but simple interface. > Passed the arithmetic test that ShowCalc failed. > Includes scientific operators. > There is a advanced payware version. > There is a no-install option.
> My favourite was ESBCalc. Its accuracy, no-install option, OK > interface and many features mean it will replace ShowCalc.
> If anyone else knows of good tape calculators or proper calculator > accuracy tests, please let me know.
I settled on MoffSoft FreeCalc. The ESBCalc had too many advanced function buttons for doing checkbook reconciliation.
> *ESBCalc* > Slightly ugly, but simple interface. > Passed the arithmetic test that ShowCalc failed. > Includes scientific operators. > There is a advanced payware version. > There is a no-install option.
> My favourite was ESBCalc. Its accuracy, no-install option, OK > interface and many features mean it will replace ShowCalc.
Good looking but busy interface. Passed the arithmetic test that ShowCalc failed. Includes scientific operators. It has the most impressive feature set of all: macros, special buttons, conversions, subtotals, voice speaking after actions. It can even automatically replace the Windows Calculator, calc.exe.
I still prefer ESBCalc, as it is simpler and does not require an install, but it is a very close-run thing.
-- Iain Please check www.pricelesswarehome.org, the FAQ and Google Groups before posting in alt.comp.freeware.
The Wikipedia article leaves the following as the bottom line to their discussion on floating point ....
"The point here is that a computer isn't magic, it is a machine and is subject to certain rules and constraints. Although many people place a childlike faith in the answers computers give, even under the best of circumstances these machines have a certain unavoidable inexactness built into their treatment of real numbers."