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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd40601768eaf8fd X-Google-Attributes: gid103376,public From: "Robert I. Eachus" Subject: Re: Array of Variant Records Question... Date: 1999/09/22 Message-ID: <37E91C02.5FF1655F@mitre.org>#1/1 X-Deja-AN: 528317481 Content-Transfer-Encoding: 7bit References: <7r5vh3$imu1@svlss.lmms.lmco.com> <37d6a45c@news1.prserv.net> <37d6ccb6@news1.prserv.net> <7r77i8$i08$1@nnrp1.deja.com> <37d7c116@news1.prserv.net> <7r8t21$ov5$1@nnrp1.deja.com> <37d822a1@news1.prserv.net> <7r9r4u$fsc$1@nnrp1.deja.com> <37D96965.81045235@rational.com> <37d9a3b7@news1.prserv.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.mitre.org X-Trace: top.mitre.org 938023656 4622 129.83.41.77 (22 Sep 1999 18:07:36 GMT) Organization: The MITRE Corporation Mime-Version: 1.0 NNTP-Posting-Date: 22 Sep 1999 18:07:36 GMT Newsgroups: comp.lang.ada Date: 1999-09-22T18:07:36+00:00 List-Id: Robert A Duff wrote: > I understand that you can have different representations of the same > abstract value, but that's not the case with Random -- if I call Random > twice in a row, I get two different answers (two different abstract > values). I had better, or it's broken! Minor comment--I don't think that Bob Duff meant to mislead anyone, but a random number generator that never returns the same value twice in a row is broken, just as is one that always returns the same value. (Think about a generator that returns boolean values.) In any case though, the state of the generator must change or it is broken. (And any good generator should not allow "weak seeds" to be used when resetting the generator.) -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...