H->HMS conversion HP-15C vs. HP42S vs HP67
09-10-2018, 06:18 PM
Post: #47
 Albert Chan Senior Member Posts: 2,683 Joined: Jul 2018
RE: H->HMS conversion HP-15C vs. HP42S vs HP67
(09-10-2018 03:32 PM)Joe Horn Wrote:
(09-10-2018 12:46 PM)Albert Chan Wrote:  Since 9°59'60" = 10°, "60 seconds bug" is not serious (easily fixed in the head)
At worse, this is a display bug, wrongly assumed number is decimal (see post 37).

(1) "Not serious"? Would anybody tolerate a digital clock that said the time is 1:29:60? No. It would be considered a buggy clock. Nor should we tolerate an HMS algorithm that returns 60 seconds or 60 minutes.

(2) "Only a display bug" is not true. Pekis' formulas (both his original and his "improved" one) return EXACTLY 1.29600000000 on the HP 50g for an input of 1.49999999999. That's not an artifact of display-mode rounding. It's a bug in the algorithm.

Calculator really need to know the fractions is minutes and seconds for correct round-up.
In this regard, my Casio get it right, dedicated DMS key for degree/minute/second.
So it knows 60 seconds to a minute, 60 minutes to a degree.
Best of all, user know it too, since it is displayed differently, as in 1°2°3°

Unfortunately, HP pick DD.MMSS decimal representation (a normal number !)
Even the calculator itself got confused. You can press DEG->DMS repeatedly, getting garbage.
It does not know ... (see post 37)

As long as calculator treat the "number" as decimal, it cannot be fix by patching formula.
Raw result of exactly 1.296, or will rounded as 1.296 doesn't matter.
Either way, the result need some cleaning up.

When I say, "not serious", "only a display bug", I meant cleaned-up result comes out the same.

Yes, I agreed this is not good. Did HP Prime still use this DD.MMSS form ?
 « Next Oldest | Next Newest »

 Messages In This Thread H->HMS conversion HP-15C vs. HP42S vs HP67 - Siegfried - 09-06-2018, 11:16 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - BartDB - 09-06-2018, 11:30 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Massimo Gnerucci - 09-06-2018, 11:35 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Robert VM - 09-06-2018, 12:58 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Paul Dale - 09-06-2018, 11:32 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - ijabbott - 09-06-2018, 06:51 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Thomas Okken - 09-06-2018, 10:37 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Siegfried - 09-07-2018, 09:42 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Didier Lachieze - 09-06-2018, 12:05 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Gene - 09-06-2018, 01:07 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Paul Dale - 09-07-2018, 03:40 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - rprosperi - 09-06-2018, 01:21 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - burkhard - 09-06-2018, 01:42 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-06-2018, 02:14 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Dieter - 09-06-2018, 05:01 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - burkhard - 09-06-2018, 05:14 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Dieter - 09-06-2018, 05:31 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-06-2018, 07:36 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Werner - 09-07-2018, 09:43 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Thomas Okken - 09-07-2018, 02:40 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-08-2018, 12:59 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Zaphod - 09-06-2018, 05:58 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - burkhard - 09-06-2018, 06:02 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Pekis - 09-07-2018, 07:07 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-07-2018, 03:43 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-08-2018, 06:03 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-09-2018, 04:21 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Joe Horn - 09-09-2018, 05:10 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Carsen - 09-09-2018, 05:29 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Werner - 09-09-2018, 07:50 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - teenix - 09-09-2018, 08:59 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - AndiGer - 09-15-2018, 09:54 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - AndiGer - 09-07-2018, 04:57 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Gene - 09-07-2018, 08:49 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Thomas Okken - 09-08-2018, 02:35 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-08-2018, 03:45 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-09-2018, 06:13 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-09-2018, 11:39 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Werner - 09-09-2018, 08:51 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Thomas Okken - 09-09-2018, 01:54 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-09-2018, 03:25 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Pekis - 09-10-2018, 07:31 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-10-2018, 12:46 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Pekis - 09-10-2018, 01:31 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-10-2018, 04:28 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Werner - 09-12-2018, 07:14 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-12-2018, 02:08 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-12-2018, 08:20 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Werner - 09-14-2018, 12:46 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Joe Horn - 09-10-2018, 03:32 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-10-2018 06:18 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Joe Horn - 09-10-2018, 06:53 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Dieter - 09-10-2018, 07:13 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Joe Horn - 09-10-2018, 07:06 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - DaveBr - 09-20-2018, 08:52 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Werner - 09-12-2018, 07:06 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Werner - 09-10-2018, 02:10 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-13-2018, 04:47 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Pekis - 09-13-2018, 08:47 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-13-2018, 01:46 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-18-2018, 04:56 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Pekis - 09-13-2018, 03:11 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-15-2018, 02:47 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Craig Bladow - 09-21-2018, 03:06 AM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Albert Chan - 09-21-2018, 12:16 PM RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Ken S - 09-21-2018, 06:08 AM

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