Hi, could some tell me a way to use random() to get evenlydistributed numbers between 2^-5 and 1. Thanks
HKIM
Hi, could some tell me a way to use random() to get evenlydistributed numbers between 2^-5 and 1. Thanks
HKIM
Try th FAQ : http://www.cprogramming.com/boardfaq.html#random
also if you want to find info on a specific subject try using the search. I suspect if you type random in the search field, you'll get a lot of results.
http://www.cprogramming.com/cboard/search.php?s=
All spelling mistakes, syntatical errors and stupid comments are intentional.
Just use addition with the rand() function. That'll work for a range.
1978 Silver Anniversary Corvette
hi there,
study yourself the fundas of random numbers and make function yourself...
Feedback is the breakfast of champions...