[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use high bits of the raw random number?

From: Chet Ramey
Subject: Re: Use high bits of the raw random number?
Date: Fri, 17 May 2019 15:24:22 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 5/15/19 8:00 PM, Andrew Church wrote:
>>> It seems that the high bits should be more random. If so, maybe the
>>> high 16 bits should be kept if $RANDOM must stay in 16bits?
>> This seems like something you could test and verify.
> This aroused my curiosity, so I passed the generator's output through
> dieharder (https://webhome.phy.duke.edu/~rgb/General/dieharder.php).

Thanks for the investigation.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]