
27 Feb
2009
27 Feb
'09
5:08 a.m.
The random() function is only marginally better than rand().
On Fri, Feb 27, 2009 at 6:50 AM, Ketil Malde
Lennart Augustsson
writes: C's rand() function is very bad and should never be used really.
On Linux (really GNU libc, I suppose) it is the same as random(). But for portability, one is encouraged to spend the two extra letters. I don't understand the details, but I think the Mersenne twister is much better in any case.
-k -- If I haven't seen further, it is by standing in the footprints of giants