in reply to Re: PDL and srand puzzle
in thread PDL and srand puzzle
This is good attitude, thanks etj
perhaps srandom ? or setseed or just rename random() to rand() so that PDL completely takes over Perl's (edit:I mean both srand() and rand()) as I believe one of syphilis's frustrations is that he is setting the seed to the wrong RNG and sees no effect. The latter would of course be not curteous unless you really know what you are doing as this can have security implications for 3rd-parties or even core modules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: PDL and srand puzzle
by swl (Prior) on Jun 04, 2024 at 23:25 UTC | |
by etj (Priest) on Jun 05, 2024 at 13:30 UTC | |
by marioroy (Prior) on Jun 06, 2024 at 00:30 UTC | |
by etj (Priest) on Jun 06, 2024 at 03:55 UTC | |
by marioroy (Prior) on Jun 06, 2024 at 05:24 UTC | |
|