HMS- command

Please report issues with the DM41X Beta Firmware in this sub-forum
Post Reply
Yonatan
Posts: 6
Joined: Tue Dec 27, 2022 9:23 pm

HMS- command

Post by Yonatan »

The HMS- command on the DM41X behaves as follows:

14.36 ENTER
11.37 HMS-
2.5860

— when the strictly correct formatting should be 2.5900 — the 60 seconds should “carry” into the minutes.

I notice that the i41CX+ emulator of the HP 41CX behaves exactly the same way in this example. For all I know, the HP 41CX behaves this way as well (I don’t have the access to one to try it out).

Is this a round-off error issue?
Garth
Posts: 30
Joined: Sun Nov 20, 2022 11:06 pm

Re: HMS- command

Post by Garth »

Yonatan wrote:
Mon Feb 06, 2023 12:28 am
For all I know, the HP 41CX behaves this way as well (I don’t have the access to one to try it out).
Yes.  It does.
http://WilsonMinesCo.com (Lots of HP-41 links at the bottom of the links page, http://wilsonminesco.com/links.html )
ecsfang
Posts: 51
Joined: Sun Jan 26, 2020 5:21 pm
Location: Lund/Sweden

Re: HMS- command

Post by ecsfang »

On the HP-41C/CV/CX the following is true:

Code: Select all

FIX 9
14.36 ENTER
11.37 HMS-
2.585999999

14.37 ENTER
11.38 HMS-
2.590000002
So yes, it is a rounding issue on the 41 (and similar), eg. the HP32SII behaves the same (but with higher precision):

Code: Select all

14.36 ->HR (== 14.6)
11.37 ->HR (== 69.7/6 ~= 11.61666666667)
-  (~= 2.98333333333)
->HMS
SHOW -> 2.58599999999

14.37 ->HR
11.38 ->HR
-
->HMS
SHOW -> 2.59000000002
[35/45/55/65/67/97/21/25/29C/31E/33E/38E/41C|CV|CX/71B/10C/11C/15C/16C/32SII/42S/28S/48GX/49G/35S/DM41X(#00456)]
(7397)[134]
Yonatan
Posts: 6
Joined: Tue Dec 27, 2022 9:23 pm

Re: HMS- command

Post by Yonatan »

Thank you and Garth for looking at this. Good to know!
Post Reply