From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: New IEEE Language Popularity Ratings Date: Sat, 6 Aug 2016 14:38:59 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <31c22983-150c-4dab-abba-588e15f75914@googlegroups.com> <84d258dc-b60d-4a49-9af4-27dd6f3e5f5f@googlegroups.com> <1703ca9a-2665-4435-9564-4abd8a77ebe9@googlegroups.com> <12ca4276-cd1e-49ae-b5dc-56432e721687@googlegroups.com> <2a3fc931-feb3-4542-a4c9-e43affa5c4f4@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Sat, 6 Aug 2016 21:39:07 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="d7c030f56102b58a2c16dea977db88bb"; logging-data="26017"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+FWMrBVjno+zNAVjMeOnT2qrZLJw9J3PA=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <2a3fc931-feb3-4542-a4c9-e43affa5c4f4@googlegroups.com> Cancel-Lock: sha1:kWPfHpbfkFC3O36mWl0L1osdeGE= Xref: news.eternal-september.org comp.lang.ada:31310 Date: 2016-08-06T14:38:59-07:00 List-Id: On 08/06/2016 08:53 AM, brbarkstrom@gmail.com wrote: > > Another example is random number generators. Knuth's Art of Computer > Programming, Vol. 2, is the basic definitive reference. It includes ten > tests of a random number generator that anybody needing one should be sure > have been used. Park and Miller's article many years ago in CACM provides > code for a portable version of an algorithm that they put through the Knuth > wringer. In my own work, I've got an Ada library for generating probability > distributions that includes Park and Miller's algorithm, since it includes > a test as to whether it's been implemented correctly. I might trust the > algorithms in MatLab or Mathematica, but this kind of work is not for > amateur mathematicians. These tests, while useful, are probably badly outdated for modern algorithms on 64-bit processors. More modern tests include TestU01's Crush and Big-Crush test suites. The Threefry generator is said to be the fastest to pass all the Big-Crush tests. -- Jeff Carter "I've seen projects fail miserably for blindly applying the Agile catechism: we're Agile, we don't need to stop and think, we just go ahead and code!" Bertrand Meyer 150