Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH 1/1] zsh/random



On 6/17/2024 19:16, Clinton Bunch wrote:

On 6/17/2024 18:52, Clinton Bunch wrote:
On 6/17/2024 09:43, Jun. T wrote:
Test/V15random.ztst
I don't know whether zsh need to check the "quality" of the random
number. I guess the simple $RANDOM would also pass these tests.
RANDOM would not pass these tests.  They test the difference between the distribution of the generated values against the ideal equal distribution.

I was wrong.  Apparently, RANDOM isn't sufficiently biased to fail these tests.  I'm beginning to think there is no useful test that can be run on this module, but I'm open to suggestions.








Messages sorted by: Reverse Date, Date, Thread, Author