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,c9d5fc258548b22a 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!193.201.147.84.MISMATCH!xlned.com!feeder1.xlned.com!news.netcologne.de!newsfeed-fusi2.netcologne.de!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: How do I write directly to a memory address? 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: <67063a5b-f588-45ea-bf22-ca4ba0196ee6@l11g2000yqb.googlegroups.com> <31c357bd-c8dc-4583-a454-86d9c579e5f4@m13g2000yqb.googlegroups.com> <05a3673e-fb97-449c-94ed-1139eb085c32@x1g2000yqb.googlegroups.com> <8r86vgFc3uU1@mid.individual.net> <19fh1chm74f9.11cws0j5bckze.dlg@40tude.net> <4d4ff70e$0$6886$9b4e6d93@newsspool2.arcor-online.net> <737a6396-72bd-4a1e-8895-7d50f287960e@d28g2000yqc.googlegroups.com> <4d5008a5$0$6879$9b4e6d93@newsspool2.arcor-online.net> Date: Mon, 7 Feb 2011 18:23:10 +0100 Message-ID: <12uj4hdh7uc17.x0o1h0yrnrjl$.dlg@40tude.net> NNTP-Posting-Date: 07 Feb 2011 18:23:10 CET NNTP-Posting-Host: 95935e00.newsspool1.arcor-online.net X-Trace: DXC=DCdkZjFb6iV=>bdbdS?M0Yic==]BZ:af^4Fo<]lROoRQ<`=YMgDjhgR[OgT3@U=9b^[6LHn;2LCV^[ On Mon, 07 Feb 2011 11:14:29 -0500, Robert A Duff wrote: > "Dmitry A. Kazakov" writes: > >> Wrong. You might have an implementation of Random backed by the hardware in >> which case Random would have no internal state whatsoever. > > I don't think a truly random implementation of > Ada.Numerics. ... .Random would be correct, > because you're allowed to reset the state to a > previously-saved state, and replay they exact same sequence > of pseudo-random numbers. > > It might be useful to have a truly-random function, but > it would have to be a different one. You are right. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de