2 ms·
erand48 returns random doubles from [0.0, 1.0). The argument to erand48() is just a state vector (instead of the usual unsafe convention of having the RNG store
by jey 17y ago
erand48 returns random doubles from [0.0, 1.0). The argument to erand48() is just a state vector (instead of the usual unsafe convention of having the RNG store its state internally). You can replace it with a call to any other equivalent random number generator.
http://www.opengroup.org/onlinepubs/000095399/functions/erand48.html http://www.opengroup.org/onlinepubs/000095399/functions/eran...