Re: Creating the same random numbers

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

 



Hi Danny,


On Sat, Jan 29, 2011 at 07:59:34PM +0000, creslin@xxxxxxxxx wrote:
> Why not simply copy the sequence generated if you need the same? 
> 
Because it would be easier to have something like srand(seed) and later
on rand() instead of managing a list of generated numbers etc. Of
course, providing a list of generated data could be a solution.



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux