The standard rand() function of many compilers (Keil, etc.) return pseudorandom integer in range 0 to 32767. 1. Is the period of such pseudorandom generators equal to 2^15, or it is more? 2. Who has an efficient algorithm for 2^31 period rand() function? Both assembler and C realizations are of interest. Thank you, Varuzhan
Message
rand() function
2005-05-03 by varuzhandanielyan