Post Reply 
H->HMS conversion HP-15C vs. HP42S vs HP67
09-10-2018, 06:53 PM
Post: #48
RE: H->HMS conversion HP-15C vs. HP42S vs HP67
(09-10-2018 06:18 PM)Albert Chan Wrote:  Did HP Prime still use this DD.MMSS form ?

No, it uses a special display format, similar to Casio. For example, →HMS(pi) yields 3º08'29.73355".

Note: I just looked up the HP48 →HMS function in HP's source code, and it mentions that REV:A of the HP 48 had the 60 second bug! It even gives 1.49999999999 --> 1.2960 as the example! Golly. But then it says that the bugfix "sacrifices a small amount of accuracy in final result due to intermediate rounding." Apparently they multiplied the 15-form number by 0.6 and then rounded the last 3 digits (not sure what that's all about). They said, "The rounding is not essential, but avoids undesirable rounding effects associated with packing the final h.ms result into a 12-digit destination." So they struggled with this problem too, and opted for slightly less accuracy to avoid 60 seconds from ever appearing in the result. That's similar to the Prime, which only shows a maximum of 5 decimal places for the seconds in HMS notation.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: H->HMS conversion HP-15C vs. HP42S vs HP67 - Joe Horn - 09-10-2018 06:53 PM



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