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-Thread: 103376,c9d5fc258548b22a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: How do I write directly to a memory address? Date: Mon, 07 Feb 2011 11:14:29 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: 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> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1297095269 21565 192.74.137.71 (7 Feb 2011 16:14:29 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 7 Feb 2011 16:14:29 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:DPmux8tzMTZHjpi2FkbPtFU5YPU= Xref: g2news1.google.com comp.lang.ada:16933 Date: 2011-02-07T11:14:29-05:00 List-Id: "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. - Bob