Bug: HP Prime can't do Log's
|
12-15-2015, 07:43 AM
(This post was last modified: 12-15-2015 08:45 AM by davimle.)
Post: #21
|
|||
|
|||
RE: Bug: HP Prime can't do Log's
OK, I was fascinated and curious about the numerical methods pathological cases posed in the paper linked by @Fortin. Now that my daughter is home with her Prime, I figured it was time for a calculator smack-down! Here are the contenders:
Now onto the rounds.... For the classic: 1/3 * 3 - 1 Code: Prime (Home): -0.000000000001 And the slightly more complicated: 1/3 * 3 - 0.99 - 0.01 Code: Prime (Home): -0.000000000001 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 Now for the very small differences: 1 + 1E-13 - 0.99 - 0.01 Code: Prime (Home): 0 So surprisingly, the iOS "free" built-in calculator was the only one to get the correct answer in all 4 calculator torture tests. Too bad it is such a pain to use. I am disappointed that pCalc compares so badly to the calculator that comes bundled for free. Seems they should compare results across several other calculators. Now if I could just have an HP Prime calculator app for my iPhone 6+. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)