[AD] rand() vs random()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Can we use random() instead of rand() in the test program?
Under OSX using rand() gives really poor randomness in tests, and it's not
nice to see. random() on the other hand performs much better. Since it
should be supported by all the platforms Allegro runs on (can you confirm
this? It's an stdlib function), can we replace rand() with it at least in
test.c?

-- 
Angelo Mottola
a.mottola@xxxxxxxxxx





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/