Article View: pl.comp.lang.c
Article #308755Re: test randomizacyjny w C
From: Borneq
Date: Wed, 28 Sep 2016 11:37
Date: Wed, 28 Sep 2016 11:37
17 lines
2369 bytes
2369 bytes
W dniu 28.09.2016 o 13:02, bartekltg pisze: >> https://groups.google.com/forum/#!topic/comp.lang.c/qZFQgKRCQGg >> https://groups.google.com/forum/#!topic/sci.crypt/MFxQfvvoW-Q > > Chcesz mie nakierować na jakiś konkretny fragment? The Mersenne Twister (check Google) is an excellent RNG, with k=624. But it requires an elaborate C program and is slower than many RNGs that do as well in tests, have comparable or longer periods and require only a few lines of code. Here is a complimentary-multiply-with-carry RNG with k=4097 and a near-record period, more than 10^33000 times as long as that of the Twister. (2^131104 vs. 2^19937)
Technical Details
Message-ID:
<nsga1h$c6d$1@node1.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<5777f44e$0$12548$65785112@news.neostrada.pl> <nlcdr5$rk4$1@portraits.wsisiz.edu.pl> <3fabf491-7526-4652-b460-a6c2b03318fe@googlegroups.com> <52620181-d1a6-4812-96a5-38eaed8f0860@googlegroups.com> <nlecfp$94i$1@portraits.wsisiz.edu.pl> <771ccedb-ab65-484c-95f6-fed3beab850d@googlegroups.com> <nlgdvu$7vo$1@node2.news.atman.pl> <nsbfoj$gk0$1@node1.news.atman.pl> <1121cd99-4f0c-42c9-af4e-bbb95846b221@googlegroups.com> <nsbi91$118$1@node2.news.atman.pl> <nsbja8$k91$1@node1.news.atman.pl> <nsbr2o$a64$1@node2.news.atman.pl> <nsbtc8$ch5$1@node2.news.atman.pl> <nsc0nj$fs7$1@node2.news.atman.pl> <nsc240$4fb$1@node1.news.atman.pl> <e4777e03-0727-4ca9-9beb-0d74176bc08b@googlegroups.com> <nsc44o$j5i$1@node2.news.atman.pl> <nsc4ik$jlr$1@node2.news.atman.pl> <nsdtnq$9cb$1@node2.news.atman.pl> <nse8nn$jt7$1@node2.news.atman.pl> <nsebol$dt6$2@node1.news.atman.pl> <nsg80c$a5n$3@node1.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.lang.c Subject: Re: test randomizacyjny w C Date: Wed, 28 Sep 2016 13:37:28 +0200 Organization: ATMAN - ATM S.A. Lines: 18 Message-ID: <nsga1h$c6d$1@node1.news.atman.pl> References: <5777f44e$0$12548$65785112@news.neostrada.pl> <nlcdr5$rk4$1@portraits.wsisiz.edu.pl> <3fabf491-7526-4652-b460-a6c2b03318fe@googlegroups.com> <52620181-d1a6-4812-96a5-38eaed8f0860@googlegroups.com> <nlecfp$94i$1@portraits.wsisiz.edu.pl> <771ccedb-ab65-484c-95f6-fed3beab850d@googlegroups.com> <nlgdvu$7vo$1@node2.news.atman.pl> <nsbfoj$gk0$1@node1.news.atman.pl> <1121cd99-4f0c-42c9-af4e-bbb95846b221@googlegroups.com> <nsbi91$118$1@node2.news.atman.pl> <nsbja8$k91$1@node1.news.atman.pl> <nsbr2o$a64$1@node2.news.atman.pl> <nsbtc8$ch5$1@node2.news.atman.pl> <nsc0nj$fs7$1@node2.news.atman.pl> <nsc240$4fb$1@node1.news.atman.pl> <e4777e03-0727-4ca9-9beb-0d74176bc08b@googlegroups.com> <nsc44o$j5i$1@node2.news.atman.pl> <nsc4ik$jlr$1@node2.news.atman.pl> <nsdtnq$9cb$1@node2.news.atman.pl> <nse8nn$jt7$1@node2.news.atman.pl> <nsebol$dt6$2@node1.news.atman.pl> <nsg80c$a5n$3@node1.news.atman.pl> NNTP-Posting-Host: 91.239.205.105 Mime-Version: 1.0 X-Trace: node1.news.atman.pl 1475062642 12493 91.239.205.105 (28 Sep 2016 11:37:22 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Wed, 28 Sep 2016 11:37:22 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 In-Reply-To: <nsg80c$a5n$3@node1.news.atman.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit