lundi 5 octobre 2015

Using .txt file containing random numbers with the diehard test suite

I have several .txt files containing a large number of integers (approx 2.5 million) generated by various RNG's. I want to use the diehard test suite to test these RNG's.

The .txt files look like this:

#==============================================
# generator Park       seed = 1
#=============================================
type: d
count: 2500000
numbit: 32
16807
282475249

Followed by ofcourse, more integers. I use the following command to run diehard with this .txt file

dieharder -f randdata.txt -a - g 202

My question is, is my .txt file correct (in particular the first few lines), and why are these lines neccesary? The reason I am asking this is because every .txt file generated by some RNG (some good, some bad) fails almost every test and I am wondering if this is because of some mistake I made in passing the .txt file to diehard or if my RNG's are just all bad.

Aucun commentaire:

Enregistrer un commentaire