🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.programming
Article #217478

Re: Jak zrobić test za pomocą PractRand?

#217478
From: osobli...
Date: Fri, 20 Aug 2021 02:16
11 lines
1836 bytes
Dane muszą być w formacie binarnym:

https://www.researchgate.net/publication/340214294_A_Practical_Approach_to_Testing_Random_Number_Generators_in_Computer_Algebra_Systems

"For testing data from a file, the fol-lowing command can be used:

cat file.data | RNG_test stdin64

The data in the file must be binary; text files are not supported."

Ale nie mogą być w pliku txt, tylko .data. Pytanie jak zapisać coś w formacie .data, w szczególności w Pythonie?
Technical Details
Message-ID: <59f337cc-b1b3-4bc0-a870-4041c1d1e6e4n@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!2.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
References: <6a2d60cf-5d52-4f70-a0bb-67ac51f2ea47n@googlegroups.com> <b9c50ba9-d0e6-4a4f-85d2-41df0d9ead96n@googlegroups.com>

Show Full Headers
Complete Article Headers
X-Received: by 2002:a05:620a:1a14:: with SMTP id bk20mr6433634qkb.481.1629425770448;        Thu, 19 Aug 2021 19:16:10 -0700 (PDT)
X-Received: by 2002:a0c:e883:: with SMTP id b3mr17756342qvo.23.1629425770295; Thu, 19 Aug 2021 19:16:10 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!2.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: pl.comp.programming
Date: Thu, 19 Aug 2021 19:16:10 -0700 (PDT)
In-Reply-To: <b9c50ba9-d0e6-4a4f-85d2-41df0d9ead96n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.169.12.87; posting-account=5sNFBgoAAAAxlae8lv99mPyGsDs6ynwB
NNTP-Posting-Host: 77.169.12.87
References: <6a2d60cf-5d52-4f70-a0bb-67ac51f2ea47n@googlegroups.com> <b9c50ba9-d0e6-4a4f-85d2-41df0d9ead96n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <59f337cc-b1b3-4bc0-a870-4041c1d1e6e4n@googlegroups.com>
Subject: Re: Jak zrobić test za pomocą
 PractRand?
From: "osobli...@gmail.com" <osobliwy.nick@gmail.com>
Injection-Date: Fri, 20 Aug 2021 02:16:10 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit