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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8147387fe25d4e2a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!195.71.90.67.MISMATCH!news.unit0.net!news.uni-stuttgart.de!news.belwue.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Random number generation Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <864o9vbkwz.fsf@gareth.avalon.lan> <8o3fboFsniU1@mid.individual.net> Date: Thu, 30 Dec 2010 14:39:52 +0100 Message-ID: <1tma5u5o1bnmw$.2ppamt7lid0m.dlg@40tude.net> NNTP-Posting-Date: 30 Dec 2010 14:39:50 CET NNTP-Posting-Host: 7168bfe8.newsspool1.arcor-online.net X-Trace: DXC=J\FI;;OL<9Q=>bdbdS?M0Yic==]BZ:af^4Fo<]lROoRQ<`=YMgDjhgRE>BTRb^`4f[[6LHn;2LCV^[ On Thu, 30 Dec 2010 15:22:00 +0200, Niklas Holsti wrote: > I don't think that gives uniformly distributed numbers, since it only > produces results that are some multiple of Number, plus the Modifier. Yes, you are right, I forgot that the range is bound. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de