can I generate a random integer/float value between -1 to 1 or 0 to 1 in Keil Microvision 5. Initially, I used rand() function, but later I found that it is generating random values between 0 to 32767. Can I put some thresholds on the upper limit and lower limit?