Re: [HACKERS] random_fract and aix compiler bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] random_fract and aix compiler bug
Date: 2003-10-18 04:46:50
Message-ID: 28709.1066452410@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at> writes:
> Would we be happy with the following, which would work ?
> } while (z <= 0 || z == MAX_RANDOM_VALUE);

I suppose this doesn't?
} while (z <= 0 || z >= MAX_RANDOM_VALUE);

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-10-18 05:04:17 Re: fix memory leak in libpq
Previous Message Neil Conway 2003-10-18 04:32:33 minor psql cleanup