Skip site navigation (1) Skip section navigation (2)

Re: win32 random number generator

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: win32 random number generator
Date: 2005-08-23 13:26:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32pgsql-patches
"Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com> writes:
> "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)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

In response to

pgsql-patches by date

Next:From: Tom LaneDate: 2005-08-23 13:48:25
Subject: Re: Win32 unicode vs ICU
Previous:From: Andrew DunstanDate: 2005-08-23 12:53:38
Subject: Re: PL/Perl embedding string common elements

pgsql-hackers-win32 by date

Next:From: Merlin MoncureDate: 2005-08-23 18:47:55
Subject: profiling on win32
Previous:From: Merlin MoncureDate: 2005-08-23 12:14:21
Subject: Re: win32 random number generator

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group