| Re: random ints on symmetric interval |
|
 |
|
 |
|
 |
|
 |
Group: comp.lang.fortran · Group Profile
Author: e p chandlere p chandler Date: Sep 18, 2008 23:28
On Sep 18, 7:02Â pm, Ron Ford wrote:
> On Wed, 17 Sep 2008 06:38:36 -0700 (PDT), e p chandler posted:
>
>> On Sep 17, 2:52Â am, Ron Ford wrote:
>
> Glen is > right about the ultimate calculation here:
>
> ! calculates percent of UB for b-a on a symmetric interval
[snip]
> Â inbounds = Â Â Â Â Â Â Â Â 749970
> Â outbounds = Â Â Â Â Â Â Â Â 250030
>  ratio is    2.99952
> Â percent = Â Â 25.0030 Â Â Â %%
> I wonder how big the interval can get before the numbers start to get
> "grainy" with b = -i_max + int( harvest * i_tot )?
>
> How would a person stich together 2 pseudorandoms?
See papers by Wickmann & Hill or L'Ecuyer.
- e
|