Re: [AD] Allegro 4.2 todos

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


> <b>AL_RAND</b><br>
>    This macro does a simple linear[?] transformation of the libc rand()
>    function, in order to improve the perceived randomness of the output
>    series in the lower 16 bits.

Do you want to enforce linearity (modulo n of course) on the formula?

-- 
Eric Botcazou




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