Re: [AD] Allegro 4.2 todos

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


On 2003-06-05, Eric <ebotcazou@xxxxxxxxxx> wrote:
> > Done, see attached patch.
> 
> Looks ok, except maybe:
> 
> +<b>AL_RAND</b><br>
> +   Optional replacement for rand(), this macro actually uses the libc
> +   function but does some rework on the result to guarantee more perceived
> +   randomness in the lower 16 bits of it.
> 
> The last chunk of the sentence sounds weird to me, but I'm not a native 
> English speaker...

My try:

<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.

> In any cases, wait for Peter's word on the patch because he might trash 
> everything :-)

I'm shutting up.

-- 
王浩禎




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