VincentP
Programmer
- Apr 1, 2001
- 116
Hi,
Does any of you know how many different sequences one can get by changing the seed of rand(). Since srand takes an unsigned int as its argument, I guess this means only 65000 sequences... does anyone know of an algorithm which can generate more sequences? (Say of the order of a "long" type? I'd like at least millions of sequences...)
Vincent
Does any of you know how many different sequences one can get by changing the seed of rand(). Since srand takes an unsigned int as its argument, I guess this means only 65000 sequences... does anyone know of an algorithm which can generate more sequences? (Say of the order of a "long" type? I'd like at least millions of sequences...)
Vincent