Re: Strange Program Behavior - Freecell on HP50g
- From: HM <hans.milton@xxxxxxxxx>
- Date: Wed, 9 Sep 2009 11:08:57 -0700 (PDT)
And Joe Horn has noted this:
| Do 8, square root, RDZ. Then:
| 3*RAND +8*RAND -5*RAND -6*RAND +7*RAND -8*RAND -9*RAND -3*RAND = 1 [exactly]http://groups.google.com/group/comp.sys.hp48/msg/9d7e1a1a3c859c4f
An observation:
On the 50g:
Given the random number seed as square root of 8, the sum of JH's
sequence
differs depending if the calculator is in exact or approximate modes
when the
seed is defined. (If in exact, the number has to be converted to
real before being
accepted as a seed input).
If in exact mode, sum is -12.1743
If in approximate mode, sum is 1
On the 33s (inherently approximate), given the same seed, the sum is
1.
Further, on the 50g, the seed square root of 27 gives the same random
number
sequence regardless if mode is exact or approximate. Not so if the
seed is the
square root of 32.
Given the same seed, a 33s gives the same random number as a 50g when
seed was defined in approximate mode.
.
- References:
- Strange Program Behavior - Freecell on HP50g
- From: cjmcc
- Re: Strange Program Behavior - Freecell on HP50g
- From: John H Meyers
- Re: Strange Program Behavior - Freecell on HP50g
- From: cjmcc
- Strange Program Behavior - Freecell on HP50g
- Prev by Date: Re: Strange Program Behavior - Freecell on HP50g
- Next by Date: ASCII file on SD
- Previous by thread: Re: Strange Program Behavior - Freecell on HP50g
- Next by thread: Re: Strange Program Behavior - Freecell on HP50g
- Index(es):
Relevant Pages
|
Loading