• max value for seed for srand() function
    In Keil's functions, the value for the seed value for srand() is 'unsigned int' according to their function definition. Which for my processor is 4 bytes - sizeof(unsigned int) = 4. However, it looks...
  • The rand() function.
    The rand() function in the stdlib.h is suppost to generate random numbers. However in C programming the random number is generated from a variable eg time, date,.. Then in Keil, and the controller...
  • rand function
    I would like to control the output of the below random function. I want that it return a number between the min and the max parameters. but it didn't. can you tell what should I change to do that. in...
  • Rand function Method
    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...
  • rand return rang
    Hello as i saw here : http://www.keil.com/support/man/docs/ca/ca_rand.htm The rand function generates a pseudo-random number between 0 and 32767. the rand range is 0-32767. so why i get...