Re: srand and rand across different platfroms/versions
[email protected] (Abhijit Menon-Sen) Wed, 2 May 2001 21:53:35 +0530
| Newsgroups | perl.crypto |
|---|---|
| Message-ID | <[email protected]> |
On 2001-05-01 23:29:46, [email protected] wrote: > > Will srand ($x); rand ; produce the same value (for the same $x) > across every version of perl, and on every platform? No. > If not, what are all the different possiblities??? It depends on your system's rand() function (or drand48(), or whichever variant is chosen at compile time). - ams