A83: Re: Random numbers


[Prev][Next][Index][Thread]

A83: Re: Random numbers




There's a good one in the zlib sos library (which you can get off ticalc or
joe wing's page...).  I think it inputs b and outputs a as a random number
0-b-1 (you can inc a afterwards to get 1-b)..


-Dan


>
>Does anyone know of a good and fast routine for finding a random integer
>between two numbers?  I tried using rand (built into the calculator), but
it
>was very slow.  I looked online, but I couldn't find any routines that do
>random numbers.  Thanks for answering.
>-David