發表文章

How does dieharder know when processing binary numbers from a file how “long” these numbers are?

圖片
0 I want to examine the random numbers generated by a random number generator. Each random number is 4 bytes. I have collected 50,000 numbers, each number is in a separate file (so I have 50,000 files each containing 4 bytes). I'd like dieharder (a testing and benchmarking tool for random number generators) to benchmark these random numbers. dieharder supports multiple ways of feeding random bytes. For feeding ASCII numbers it supports a header format where one can define "numbit". According to the man page this looks like that: dieharder -g 202 -f testrands.txt -a Where testrands.txt should consist of a header such as: #================================================================== # generator mt19937_1999 seed = 1274511046 #================================================================== type: d count: 100000 numbit: 32 3129711816 85411969 2545911541 Now it also supports raw binary data: dieharder -g 201 -f testrands.bin -a My question is: How would ...

Plymouth

圖片
This article is about the city in Devon. For the Massachusetts town, see Plymouth, Massachusetts. For other uses, see Plymouth (disambiguation). City and Unitary authority in England Plymouth City and Unitary authority Clockwise from top: West Hoe, Smeaton's Tower, University of Plymouth, Royal William Yard, National Marine Aquarium, Southside St, Barbican Nickname(s):  Britain's Ocean City Motto(s):  Turris fortissima est nomen Jehova "The name of Jehovah is the strongest tower" [1] Plymouth shown within Devon and England Coordinates: 50°22′17″N 4°08′32″W  /  50.37139°N 4.14222°W  / 50.37139; -4.14222 Coordinates: 50°22′17″N 4°08′32″W  /  50.37139°N 4.14222°W  / 50.37139; -4.14222 Sovereign state United Kingdom Constituent country England Region South West England Ceremonial county Devon City status 1928 Unitary Authority 1998 Government ...