(12C Platinum) Internal Precision Test

12312018, 10:33 AM
Post: #1




(12C Platinum) Internal Precision Test
This well know program shown that 1/n! can be used to verify the series
e = 1/0! + 1/1! +1/2! + ... + 1/n! to approximates the value of e . Each iteration compare this to the 12C Platinum's value of e .  Procedure: [R/S] display each iterations from this formula Pause and display calculator's e When both are equal then display the total iterations. [X<>Y] to view the value of e  12C Platinum took 14 iteration which mean that the internal precision is more than the Original 12C where 12C took 11 iterations. Program: ALG Mode Code:
Gamo 

12312018, 01:52 PM
(This post was last modified: 12312018 01:59 PM by Albert Chan.)
Post: #2




RE: (12C Platinum) Internal Precision Test
(12312018 10:33 AM)Gamo Wrote: 12C Platinum took 14 iteration which mean that the internal precision is more than the Original 12C where 12C took 11 iterations. IIRC, 12C internal precision digits are roundedaway after each operation. Only 10 sig. digits remains (what you see is what you get). If the same applied to 12C Platinum, why did it need more terms to reach 10 digits of e ? I would guess it would need about the same iterations: 2 2.5 2.666666667 2.708333334 2.716666667 2.718055556 2.718253969 2.718278771 2.718281527 2.718281803 2.718281828 BTW, getting it converge to 10digits of e is just lucky. Last digit might be off due to rounding error. Example, next iteration of above is 2.71828183 If the goal is to test internal precision of calculator, this test is not very good. 

12312018, 02:21 PM
(This post was last modified: 12312018 03:13 PM by Dieter.)
Post: #3




RE: (12C Platinum) Internal Precision Test
(12312018 01:52 PM)Albert Chan Wrote: IIRC, 12C internal precision digits are roundedaway after each operation. No, the 12C Platinum does not finally round to 10 digits. We have verified this in an earlier thread. Also let's be accurate about the term "internal precision". This usually referns to the precision of the calculator's internal (sic!) calculations. On HP calculators these are typically three more digits than what is exposed to the user, i.e. 13 dgits for 10digit calculators or 15 digits for 12digit devices. What we are talking about here is something different. The 12C Platinums works with 12 digits while the hardware can only display 10 of these. In a way that's similar to, say, the TI58/59: you see 10 digits but 13 are present. So while the 12C Platinum displays √2 as 1,414213562 there calculated result is 1,41421356237. Which can be shown by subtracting the displayed value, this should yield 3,7E–10. So... (12312018 01:52 PM)Albert Chan Wrote: 2 ...I am pretty sure the 12C Platinum wil show 2,708333333 at this point, avoiding the 10digit roundoff error. (12312018 01:52 PM)Albert Chan Wrote: If the same applied to 12C Platinum, why did it need more terms to reach 10 digits of e ? The additional iterations occur because at the end there are two values that look the same (the first 10 digits agree) while the test in the program detects that they are still different, so the iteration continues until they match in all 12 digits. Since I don't have a 12C Platinum at hand I have tried this on the 12digit HP35s. Set to 10 displayed digits, the result eventually reaches 2,718281828. But the iteration does not stop here because the 12digit value at this point is 2,71828182829 which is compared to the 12digit true value of e, 2,71828182846. The next iteration yields 2,71828182845 and finally 2,71828182846. These are the mentioned two additional iterations. Gamo said it's three more iterations on the Platinum, but this is caused by roundoff errors in the standard 12C: The last value in your table actually should be 2,718281826 when evaluated exactly, which means one more iteration. It should be 12 and 14 instead of 11 and 14. (12312018 01:52 PM)Albert Chan Wrote: BTW, getting it converge to 10digits of e is just lucky. Last digit might be off due to rounding error. Yes, with 10 digit precision the iteration converges to 2,718281830. That's also caused by the mentioned roundoff errors. Dieter 

12312018, 03:32 PM
Post: #4




RE: (12C Platinum) Internal Precision Test
(12312018 02:21 PM)Dieter Wrote: ... The 12C Platinums works with 12 digits while the hardware can only display 10 of these. So, HP 12C and 12C Platinum does totally different way of rounding ... Is it still appropriate to compare internal precisions this way ? Even if 12C had a million digits precision, due to roundingbackto10 digits, it still require 11 iterations. 

12312018, 04:24 PM
Post: #5




RE: (12C Platinum) Internal Precision Test
(12312018 03:32 PM)Albert Chan Wrote: So, HP 12C and 12C Platinum does totally different way of rounding ... ?!? The 12C is a 10digit calculator with a 10digit display. The 12C Platinum is a 12digit calculator with a 10digit display. The 12C Platinum does not round back to 10 digits. Its just the display that cannot show more than 10 digits. Dieter 

12312018, 04:55 PM
(This post was last modified: 12312018 06:22 PM by Albert Chan.)
Post: #6




RE: (12C Platinum) Internal Precision Test
(12312018 02:21 PM)Dieter Wrote: Also let's be accurate about the term "internal precision". This usually referns to the precision of the calculator's internal (sic!) calculations. On HP calculators these are typically three more digits than what is exposed to the user, i.e. 13 dgits for 10digit calculators or 15 digits for 12digit devices. I probably misunderstood Gamo's meaning of the word: internal precision. This test really test the "exposed" digits. (10 for 12C, 12 for 12C Platinum) More (nonexposed) internal precisions had almost no effect on iteration count. From HP brochure, 12C Platinum have internal precisions of 15 digits. Sorry for the noise ... 

01012019, 03:44 AM
(This post was last modified: 01012019 03:45 AM by Gamo.)
Post: #7




RE: (12C Platinum) Internal Precision Test
The Internal Precision as shown in brochure stated
is 15 digits. The reason that 12C Platinum took more iterations because of the 15 digits internal precision which mean that this takes more iterations than the standard 12C and what shown on display is 10 digits. This program just to proof of the numbers of iterations different between standard 12C and 12C Platinum not the accuracy of e . Gamo 

01022019, 07:33 PM
Post: #8




RE: (12C Platinum) Internal Precision Test
(01012019 03:44 AM)Gamo Wrote: The Internal Precision as shown in brochure stated Let's look at this a bit more closely. The reason for the different number of iterations is not the 15digit vs. 13digit internal precision of both calculators. The program calculates with 12 and 10 digit precision, and this is what causes the difference. The e approximation changes as long as 1/n! stays ≥ 5E–12 or 5E–10, respectively. This happens up to n=14 and n=12, respectively. This is what causes the different number of iterations. The fact that you determined 14 and 11 (instead of 12) is cause by random roundoff errors. Dieter 

12252020, 07:28 PM
(This post was last modified: 12252020 11:00 PM by KAR.)
Post: #9




RE: (12C Platinum) Internal Precision Test
(12312018 04:55 PM)Albert Chan Wrote: From HP brochure, 12C Platinum have internal precisions of 15 digits.I bought an HP12C Platinum (HP Product#: F2231AA#B12) calculator in Slovakia this month. I read the brochure earlier at the link above and saw that the precision is 15 numbers. I have been using the official commercial HP12C Platinum app for Android for many years. It is an amazingly accurate and fast calculator. However, the one I bought in December 2020 is manufactured in the Philippines. Different from the brochure it has 2 CR2032 elements, not 1. I am doing tests: f 9 1 g 1/x 1 EEX 6 x 2718281  a) on the purchased calculator I get: 0.828460000 b) on the emulator for Android: 0.828459040 The emulator for Android, as I remember, is promised by HP as a complete analogue of a real calculator and has an accuracy of at least 14 digits. But the purchased calculator showed 1112 digits of accuracy. I also check it: f 9 CLX 0.01 ENTER 1234567890 + g +  the answer is 0.010000000 CLX 0.001 ENTER 1234567890 + g +  answer 0.000000000 Thus, the internal accuracy of the HP12C Platinum calculator is 12 digits, not 15 as in the brochure. I'm disappointed that HP is misleading the accuracy of their device. I apologize for the quality of the computer translation into English. 

12272020, 06:00 PM
Post: #10




RE: (12C Platinum) Internal Precision Test
(12252020 07:28 PM)KAR Wrote:(12312018 04:55 PM)Albert Chan Wrote: From HP brochure, 12C Platinum have internal precisions of 15 digits.Thus, the internal accuracy of the HP12C Platinum calculator is 12 digits, not 15 as in the brochure. I'm disappointed that HP is misleading the accuracy of their device. Hi Kar ! It seems to me that the 15digits accuracy concerned the financial calculations. Also, I seem to remember that the classic HP12C only offered 12digits internal precision under the same circumstances. 

12282020, 03:12 AM
Post: #11




RE: (12C Platinum) Internal Precision Test
(12272020 06:00 PM)Nihotte(lma) Wrote: It seems to me that the 15digits accuracy concerned the financial calculations.Hi! See https://www.thecalculatorstore.com/WebRo...atinum.pdf I don't know if this is official information. However, there is a fact that the latest modification of this calculator has an accuracy of 12 internal digits. This is bad, as in other countries the currency has a lower value. So 12 digits in rubles is the level of annual finances of a regional university. For a large enterprise, 1314 categories are needed. Thanks for the answer. 

12282020, 11:10 AM
Post: #12




RE: (12C Platinum) Internal Precision Test
It would be nice to see a test which does expose the fact that the internal calculations (perhaps only financial ones) are to 15 digits. Preferably a simple test: a FVM interest calculation perhaps.


01012021, 06:09 PM
(This post was last modified: 01022021 10:47 AM by EdS2.)
Post: #13




RE: (12C Platinum) Internal Precision Test
It might be interesting to refer to some calculations in Mathematics Written in Sand, by William Kahan. See especially from Page 15, "A Penny for your Thoughts" which is a FVM problem with very large n.
Notably, the HP12C, although returning the same value in the forward direction, comes up with a slightly less accurate answer than 4 other HP models when recalculating i. Edit: see also this post for the example. 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)