The random() function is only marginally better than rand().
On Fri, Feb 27, 2009 at 6:50 AM, Ketil Malde <ke...@malde.org> wrote: > Lennart Augustsson <lenn...@augustsson.net> 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 > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe