Re: Using the HMS functions in a user RPL program.
- From: "Heiko Arnemann" <Heiko.Arnemann@xxxxxx>
- Date: Sun, 11 Dec 2005 16:17:00 +0100
"John H Meyers" <jhmeyers@xxxxxxx> answered to
> On Sat, 10 Dec 2005 03:42:38 -0600, Heiko Arnemann wrote:
> > The required program need additionaly take care,
> > if the user means hours, degrees or grad.
>
> The HMS conversions and HMS arithmetic functions
> are valid only for hours.mins_seconds or degrees.mins_seconds
> (not angles in grads or radians), but there is no way
....
Yes, I did not finish my thoughts. Of course, grads and radians
are decimals and need to be handled simply as real numbers (RND).
....
> > A case strukture with the faktors 24, 360 and 400
Here I was wrong. 24 h, 360 ° and 400 grad has nothing
to do with rounding, they only become important for
periodic analysis, e.g. with the MOD-function.
> > would take care for "0", and 3600 and 60 can be applied
> > for the digit rounding for 1 to 3.
> The format "xxxx.mmssssssssss" (as used by HMS functions)
> has a hard-coded definition (that there are 60 seconds
> to each minute, and 60 minutes to each degree or hour);
....
> My microwave oven does exactly the same, by the way,
> as do most of my digital countdown timers; you can specify
> 99 minutes, or 99 hours, or 99 seconds, and they never complain;
> they just count down to zero before affecting the next
> group of digits to the left (if any),
> and thus they do exactly the right thing for me, the user,
> who is, after all, always right :)
I like this way.
Thanks for your explanations/thougts.
Best regards
Heiko
.
- References:
- Using the HMS functions in a user RPL program.
- From: sunburned . surveyor
- Re: Using the HMS functions in a user RPL program.
- From: John
- Re: Using the HMS functions in a user RPL program.
- From: R. G. Newbury
- Re: Using the HMS functions in a user RPL program.
- From: sunburned . surveyor
- Re: Using the HMS functions in a user RPL program.
- From: Brother-Peter
- Re: Using the HMS functions in a user RPL program.
- From: Heiko Arnemann
- Re: Using the HMS functions in a user RPL program.
- From: John H Meyers
- Re: Using the HMS functions in a user RPL program.
- From: Heiko Arnemann
- Re: Using the HMS functions in a user RPL program.
- From: John H Meyers
- Re: Using the HMS functions in a user RPL program.
- From: Brother-Peter
- Re: Using the HMS functions in a user RPL program.
- From: John H Meyers
- Re: Using the HMS functions in a user RPL program.
- From: Heiko Arnemann
- Re: Using the HMS functions in a user RPL program.
- From: John H Meyers
- Using the HMS functions in a user RPL program.
- Prev by Date: Re: HP-GCC 2.0 released!
- Next by Date: Who is interested?
- Previous by thread: Re: Using the HMS functions in a user RPL program.
- Next by thread: Re: Using the HMS functions in a user RPL program.
- Index(es):
Relevant Pages
|