Hi Ladislav,

When playing with Monte Carlo for a class a few years back I was content
to periodically reseed Rebols RNG with a very random number.
(when I just now checked, the HotBits site was up but not serving numbers)


comment{
seed the RNG with a radioactive decay induced non-pesudo-random number if
connected to the net(and HotBits server up) or with the current time
otherwise
}

random/seed either
    all [ not error? try[
          rnd-pg: read
          http://www.fourmilab.ch/cgi-bin/uncgi/Hotbits/?fmt=hex&nbytes=2]
          parse rnd-pg [thru <pre> "^/" copy seed to "^/"]
        ]
    [make integer! make binary! seed]
    [now]




On Sat, 10 Aug 2002, Ladislav Mecir wrote:

> Hi all,
>
> do you know how much suitable are Rebol random numbers for a Monte Carlo
> simulation? (I need more than one million reasonably random numbers). Would
> you suggest to use /SECURE for this?
>
> TIA
>     Ladislav
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to