Re: [AD] Allegro 4.2 todos

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


On 2003-06-06, Eric <ebotcazou@xxxxxxxxxx> wrote:
> > <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?

No.  Actually, I'm not entirely sure what linearity means in this case :-)

-- 
王浩禎




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