Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
On Tue, Apr 03, 2012 at 11:31:13AM +1000, Simon Burge wrote:
> 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
> well.
It is still there; tests/lib/libc/gen/t_randomid.c. So some duplicate tests,
but shouldn't matter that much.
On Fri, Mar 30, 2012 at 02:05:03PM +0400, Aleksej Saushev wrote:
> I don't think Marsaglia tests fit well operating system testing.
Why not? While of course RNGs may vary in their purposes, I don't see any
other way but statistical sampling to test the suitability of particularly
hardware RNGs that already are present in the tree. But maybe I am not
thinking too hard.
- Jukka.
Home |
Main Index |
Thread Index |
Old Index