The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

Mike Sebastian's Calculator Forensics
Message #1 Posted by Joerg Woerner on 8 Mar 2011, 8:03 a.m.

Hi Folks,

There is still room for improvement - THIS $15.95 calculator checked out with 18 (!) digits of resolution and reported an unparalleled result of:

9.00000000000072767

Yes, TWELVE ZEROES behind the decimal point.

Cheers,

Joerg

      
Re: Mike Sebastian's Calculator Forensics
Message #2 Posted by John B. Smitherman on 8 Mar 2011, 9:49 a.m.,
in response to message #1 by Joerg Woerner

Wow! Does it glow in the dark? ;-)

John

            
Re: Mike Sebastian's Calculator Forensics
Message #3 Posted by Joerg Woerner on 8 Mar 2011, 10:05 a.m.,
in response to message #2 by John B. Smitherman

No, but in the US you'll see only this bright lime green. In UK they have wonderful teal and pink versions, too. All made of recycled photocopiers and anti-bacterial keyboards ;-))

Regards, Joerg

      
It think it's useful
Message #4 Posted by Frank Boehm (Germany) on 8 Mar 2011, 11:31 a.m.,
in response to message #1 by Joerg Woerner

when doing your time travel calculations and including the expansion of the universe with appropriate accuracy to not miss the bus. Otherwise this might only be useful to calculate the total worldwide debt :) (Btw. the Sanyo ICC-804D had 16 digit precision back in 1971 - but no nifty functions besides 4 basic operations and on/off)

      
Re: Mike Sebastian's Calculator Forensics
Message #5 Posted by Marcus von Cube, Germany on 8 Mar 2011, 11:39 a.m.,
in response to message #1 by Joerg Woerner

Hi Jörg,

can you let it calculate tan 89.999999 degrees? There is a recent discussion about trig precision near discontinuities which revealed some astonishing results.

            
Re: Mike Sebastian's Calculator Forensics
Message #6 Posted by Joerg Woerner on 8 Mar 2011, 12:15 p.m.,
in response to message #5 by Marcus von Cube, Germany

tan (89.999999) = 57295779.51... like my TI-36X on the desk, too.

Rgeards, Joerg

                  
Re: Mike Sebastian's Calculator Forensics
Message #7 Posted by Marcus von Cube, Germany on 8 Mar 2011, 12:36 p.m.,
in response to message #6 by Joerg Woerner

Thanks Jörg! What do you get if you subtract the integer part?

                        
Re: Mike Sebastian's Calculator Forensics
Message #8 Posted by Joerg Woerner on 8 Mar 2011, 4:08 p.m.,
in response to message #7 by Marcus von Cube, Germany

57295779.5130823151 on the Canon and

57295779.5132 on the TI-36X

Joerg

                              
Re: Mike Sebastian's Calculator Forensics
Message #9 Posted by Marcus von Cube, Germany on 8 Mar 2011, 5:32 p.m.,
in response to message #8 by Joerg Woerner

The Canon is extremely accurate. The result is correctly rounded to the last digit. (The last digit should be a 0 and the following a 5. Taking rounding into account, the result is perfect.)

      
Re: Mike Sebastian's Calculator Forensics
Message #10 Posted by Paul Dale on 9 Mar 2011, 1:10 a.m.,
in response to message #1 by Joerg Woerner

The 34s only gets 10 zeros after the decimal:

        9.000000000029361

This is, however, the correctly rounded result for devices with sixteen digits. I.e. each operation correctly rounded its answer.

Pauli

            
Re: Mike Sebastian's Calculator Forensics
Message #11 Posted by Marcus von Cube, Germany on 9 Mar 2011, 2:03 a.m.,
in response to message #10 by Paul Dale

Pauli, that's the point. The forensics is not meant to highlight the accuracy of a certain calculator but to identify identical algorithms and/or calculator chips.

                  
Re: Mike Sebastian's Calculator Forensics
Message #12 Posted by Walter B on 9 Mar 2011, 2:56 a.m.,
in response to message #11 by Marcus von Cube, Germany

Quote:
The forensics is not meant to highlight the accuracy of a certain calculator but to identify identical algorithms and/or calculator chips.
True for this level of precision we're talking about here. In general, however, the forensics sheds some light on the reliability of calculation results. Think of error propagation in iterative computations ...
            
Re: Mike Sebastian's Calculator Forensics
Message #13 Posted by Gerson W. Barbosa on 9 Mar 2011, 8:21 a.m.,
in response to message #10 by Paul Dale

Paul,

The WP-34s displays 9.00000000003, that is, the internal result is rounded to the number of digits of the display. HP used to round the result and truncate it to the number of digits in the display at the end of each operation. Thus, the HP-42S displays 8.99999864267. HP's method makes sense because the results of the operations are coherent to the actual figures of the operands the user has access to (by examining their mantissas, for instance).

I assume the 34s is a 16-digit device, but the calculations are carried out with extra guard digits, otherwise it wouldn't achieve the correct rounded 16-digit result we see. Another reason to get the WP-34s as soon it's available :-)

Correct result for various numbers of digits in this old thread.

Regards,

Gerson.

                  
Re: Mike Sebastian's Calculator Forensics
Message #14 Posted by Marcus von Cube, Germany on 9 Mar 2011, 4:02 p.m.,
in response to message #13 by Gerson W. Barbosa

Gerson, wp34s *is* on the agenda. :)

                  
Re: Mike Sebastian's Calculator Forensics
Message #15 Posted by Paul Dale on 10 Mar 2011, 1:33 a.m.,
in response to message #13 by Gerson W. Barbosa

Try subtracting 9 from that result :-)

Yes, the 34s is a 16 digit device. Registers are IEEE 854 64 bit packed decimals. As you guessed, internal calculations are in higher precision using unpacked decimal numbers.

I could round to the display size (12 digits) easily enough. For a variety of reason I didn't.

- Pauli

Edited: 10 Mar 2011, 1:34 a.m.

                        
Re: Mike Sebastian's Calculator Forensics
Message #16 Posted by Gerson W. Barbosa on 10 Mar 2011, 9:06 a.m.,
in response to message #15 by Paul Dale

Quote:
Try subtracting 9 from that result :-)

Not necessary. I just pressed 'F' to see the full stack to 16 digits.

Quote:
I could round to the display size (12 digits) easily enough. For a variety of reason I didn't.

I'm glad you didn't.

Regards,

Gerson.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall