> "Merlin Moncure" <[EMAIL PROTECTED]> writes:
> > Looks like this in lrand48(void):
    _rand48_seed[1] > 1);
 
> > _rand48_seed[1] >> 1);
                    ^^

The problem is the shift operator :).  Anyways I double checked the
results and it works as expected now so here's a patch.  I also removed
the spurious casts.

Merlin

Attachment: fix_random.diff
Description: fix_random.diff

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to