Answers for "generate random float c with a range of floatin gpoint numbers"

C
1

c get random float

//random float between 0 and a
float x = (float)rand()/(float)(RAND_MAX/a);
Posted by: Guest on May-31-2021

Code answers related to "generate random float c with a range of floatin gpoint numbers"

Code answers related to "C"

Browse Popular Code Answers by Language