Re: [pgsql-hackers-win32] win32 random number generator - Mailing list pgsql-patches

From Tom Lane
Subject Re: [pgsql-hackers-win32] win32 random number generator
Date
Msg-id 1700.1124803576@sss.pgh.pa.us
Whole thread Raw
In response to Re: [pgsql-hackers-win32] win32 random number generator  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-patches
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> "Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
>> Looks like this in lrand48(void):
>>     _rand48_seed[1] > 1);

>>     _rand48_seed[1] >> 1);
>>                     ^^

> The problem is the shift operator :).

Ah, missed that completely in looking at the casts.  Will fix.

            regards, tom lane

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: PL/Perl embedding string common elements
Next
From: Tom Lane
Date:
Subject: Re: Win32 unicode vs ICU