I've been trying to create an input file specifically for ASC2BIN.exe and it says:
You must first create the ascii file. To do that,
generate your 32-bit integers and write them to a file,
in hex format, 80 characters (ten 32-bit integers) per
line.
So I understand that my RNG code will return an integer output (line by line in this case). So if I want to test it with Diehard, I need to convert them into the proper binary file. To do so, we have ASC2BIN.exe here which aims to create the binary file.
FOr example, my RNG outputs look like:
2
3
4
5
.
.
Follow to the message above of ACI2BIN.exe, I have to:
1, generate your 32-bit integers as follows
2 -> '00000000000000000000000000000010'
3 -> '00000000000000000000000000000011'
4 -> '00000000000000000000000000000100'
5 -> '00000000000000000000000000000101'
2, write them to a file, in hex format????
Does it seem I have to again convert the binary to hex format? if so, how can I do that? it sounds does not make sense to me. Or do I have to convert the file format to hex? I'm stuck here!
3, 80 characters (ten 32-bit integers) per line
okay, it's clear that 234567891011 in 32-bit integers should be in the same line under the "hex format"?
Aucun commentaire:
Enregistrer un commentaire