I would like to know on which method Keil rand() function generates the random values.Are they using LCM or Linear Feedback shift register or any other method? Please help me in this. Thanks Gopi
"I don't see any reason why rand() should not return 31 bits." I don't know anything about random numbers but I can answer this: ANSI defines rand() as returning an int, and Keil seem to try and be compliant wherever possible. Stefan
See: http://www.keil.com/forum/docs/thread3202.asp