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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7fc42d2c6a0eedc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-04 04:14:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.belwue.de!news.uni-stuttgart.de!not-for-mail From: Peter Hermann Newsgroups: comp.lang.ada Subject: Re: Ada2005 random Date: Fri, 4 Apr 2003 12:14:35 +0000 (UTC) Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: References: <3e8d421a$1@epflnews.epfl.ch> NNTP-Posting-Host: sinus.csv.ica.uni-stuttgart.de X-Trace: news.uni-stuttgart.de 1049458475 21003 129.69.118.70 (4 Apr 2003 12:14:35 GMT) X-Complaints-To: news@news.uni-stuttgart.de NNTP-Posting-Date: Fri, 4 Apr 2003 12:14:35 +0000 (UTC) User-Agent: tin/1.5.12-20020311 ("Toxicity") (UNIX) (Linux/2.4.20-xfs-preempt (i686)) Xref: archiver1.google.com comp.lang.ada:35922 Date: 2003-04-04T12:14:35+00:00 List-Id: Rodrigo Garc?a wrote: > Pick a random number from Integer and do a "mod" operation. Rodrigo, well: you won the first round :-) instantiation of discrete_random with an actual generic parameter having a huge range of values, such as integer or natural or positive and then mod,abs should sufficiently satisfy my statistic conscience. -- --Peter Hermann(49)0711-685-3611 fax3758 ica2ph@csv.ica.uni-stuttgart.de --Pfaffenwaldring 27 Raum 114, D-70569 Stuttgart Uni Computeranwendungen --http://www.csv.ica.uni-stuttgart.de/homes/ph/ --Team Ada: "C'mon people let the world begin" (Paul McCartney)