[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
Jukka Ruohonen wrote:
> On Thu, Mar 29, 2012 at 08:40:53AM +0200, Alan Barrett wrote:
> > n=4 would probably be enough iterations, and I'd suggest checking
> By the way, some general RNG tests should be added too. I vaguely remember
> the so-called "diehard" tests somewhere from the 1990s -- perhaps something
> like that?
There used to be a test in regress/lib/libc/randomid/idtest.c but I
can't seem to locate that in the current source tree. That tested for
duplicate random numbers within a given number of calls to randomid().
I'm sure that test could be adapted for this srandom/random test case as
Main Index |
Thread Index |