Verified:

qzjul Game profile

Administrator
Game Development
10,263

Apr 29th 2011, 5:33:48


function rand_zero_to_one(){
return (mt_rand()/mt_getrandmax());
}


The mt_rand() function ... uses a random number generator with known characteristics using the Mersenne Twister, which will produce random numbers four times faster than what the average libc rand() provides.

http://en.wikipedia.org/wiki/Mersenne_Twister

Edited By: qzjul on Apr 29th 2011, 5:35:52
Back To Thread
See Original Post
Finally did the signature thing.