aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/testlib.h
diff options
context:
space:
mode:
authorRichard Kistruck2009-01-20 15:59:32 +0000
committerRichard Kistruck2009-01-20 15:59:32 +0000
commite486078a79edd55a290e4087ee92c114fa301e0d (patch)
tree0ba1b8449ce6add9ab322870846f5f36a0f1d14a /mps/code/testlib.h
parent4fc1ea19fbf43ab263c604f26870eb935399c44d (diff)
downloademacs-e486078a79edd55a290e4087ee92c114fa301e0d.tar.gz
emacs-e486078a79edd55a290e4087ee92c114fa301e0d.zip
Mps br.timing: testlib randomize() was wrong (simply discarding the first 0..32000 values is a throughly defective way to seed the generator). correct it to simply use timestamp (modulo m) as the initial seed, and then iterate 10 times.
rnd(): add notes, and create rnd_verify() to confirm implementation is correct. Copied from Perforce Change: 167181 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/testlib.h')
0 files changed, 0 insertions, 0 deletions