[Randtest-develop] longruns.c and .txt
Status: Alpha
Brought to you by:
drmike2
|
From: Mike R. <er...@es...> - 2001-12-04 00:14:30
|
It's taken me quite a while to get the formulas in section 3.4 of the NIST RNG docs to work for large values of M (blocksize). The next step will be to actually code up the long runs test and use the results of the formulas. Since it's holiday time, I suspect it will be a long time in coming for anything new. If anyone looks at either longruns.c or longruns.txt (in the "doc" area) please let me know what I've done wrong. What I compute is close to what is printed in the NIST docs, but not the same. But my exact calculation and the "large approximation" match for M=1000. So if I've got a systematic error, I'd really appreciate someone pointing it out. Happy holidays everybody! Patience, persistence, truth, Dr. mike |