Post Reply 
Bug: HP Prime can't do Log's
12-15-2015, 01:28 PM
Post: #24
RE: Bug: HP Prime can't do Log's
(12-15-2015 07:43 AM)davimle Wrote:  Now for the very small differences: 1 + 1E-13 - 1
[Note: I debated about whether I should adjust this to 1E-14 for the calculators that are using 15 digits, however, it seems their threshold is also 1E-13.]
Code:
  Prime (Home):   0
  Prime (CAS):    9.94759830064E-14
  EL-W516X:       0
  iOS calc:       1E-13
  pCalc app:      9.9999977916E-14
So it would seem that Prime in regular mode employs some of the same tricks as attributed to TI in the paper. CAS mode is again, just strange (why can't it get the precise answer?).

Prime regular carries only 12 digits for intermediate results, so 1. + 1e-13 equals 1. No fiddling here (or anywhere, on HP calcs!)
Prime CAS uses binary floating point, I seem to remember from Bernard's posts a while ago. And 0.99 and 0.01 are not exactly representable in binary, hence the small errors.

Cheers, Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Bug: HP Prime can't do Log's - davimle - 12-14-2015, 04:26 AM
RE: Bug: HP Prime can't do Log's - Han - 12-14-2015, 05:02 AM
RE: Bug: HP Prime can't do Log's - Dieter - 12-14-2015, 07:02 AM
RE: Bug: HP Prime can't do Log's - retoa - 12-14-2015, 07:52 AM
RE: Bug: HP Prime can't do Log's - jebem - 12-14-2015, 10:11 AM
RE: Bug: HP Prime can't do Log's - cclinus - 12-14-2015, 08:08 AM
RE: Bug: HP Prime can't do Log's - Han - 12-14-2015, 02:58 PM
RE: Bug: HP Prime can't do Log's - carey - 12-14-2015, 07:26 PM
RE: Bug: HP Prime can't do Log's - Werner - 12-15-2015, 08:11 AM
RE: Bug: HP Prime can't do Log's - Fortin - 12-15-2015, 03:14 PM
RE: Bug: HP Prime can't do Log's - DrD - 12-14-2015, 08:28 PM
RE: Bug: HP Prime can't do Log's - carey - 12-14-2015, 08:22 PM
RE: Bug: HP Prime can't do Log's - Fortin - 12-14-2015, 08:31 PM
RE: Bug: HP Prime can't do Log's - davimle - 12-14-2015, 09:36 PM
RE: Bug: HP Prime can't do Log's - davimle - 12-15-2015, 07:43 AM
RE: Bug: HP Prime can't do Log's - Werner - 12-15-2015 01:28 PM
RE: Bug: HP Prime can't do Log's - Fortin - 12-15-2015, 01:35 PM
RE: Bug: HP Prime can't do Log's - davimle - 12-16-2015, 06:55 PM
RE: Bug: HP Prime can't do Log's - ndzied1 - 12-15-2015, 11:57 AM
RE: Bug: HP Prime can't do Log's - davimle - 12-16-2015, 06:32 PM



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