[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Random testing

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2000-10-01 20:19:01 CEST

> I'm sure we agree that it would be slightly nicer to be using a PRNG
> under our own control, but unless you've got one lying around
> somewhere, I don't think it's worth the hassle until we have a
> problem.

rand() is just "r = r * 1103515245 + 12345". Not exactly rocket
science. It's not a very good random number generator, but we don't
need an especially good one for this application.

I will go ahead and make random-test.c stop using rand(), just to set
people's minds at ease. I'll also see about integrating it properly
with the test suite and having it run multiple times.
Received on Sat Oct 21 14:36:09 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.