Bug 3458 - random(n) is not random for bignums.
: random(n) is not random for bignums.
Status: RESOLVED FIXED
: Pike
Core
: 7.4
: All Other
: P3 (normal) normal
: ---
Assigned To:
:
:
:
  Show dependency treegraph
 
Reported: 2003-06-10 18:18 CET by
Modified: 2003-06-10 18:49 CET (History)
Scrum Prio:
In scrum?: ---
Story included in sprints:
Unplanned in sprints:


Attachments


Description From 2003-06-10 18:18:09 CET
random(2147483648) generates the same sequense of numbers every time after
startup. random_seed() has no efect in this case.
------- Comment #1 From 2003-06-10 18:50:57 CET -------
This was due to _random() using mpz_random().
Fixed in Pike 7.5.

Note

You need to log in before you can comment on or make changes to this bug.