Re: [AD] Allegro 4.2 todos |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> 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.
<b>AL_RAND</b><br>
Optional replacement for libc's rand() function. On many architectures
the libc rand() does not produce suitably random numbers; this macro
fixes the problem by removing the non-random bits and replacing them
with random bits from another call to rand().
... might be better. Eric's right; the original is grammatically
incorrect.
- Charles