From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Check for ERANGE in exp() |
Date: | 2007-01-07 03:04:02 |
Message-ID: | 200701070304.l07342H07043@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Tom, on HPPA, does ERANGE get set for both overflow and underflow? I
> > assume only overflow.
>
> Yeah, AFAICT exp() just returns zero for underflow cases. I get
>
> regression=# select exp(-2000);
> ERROR: value out of range: underflow
>
> but I was getting that before your last patch, too.
Uh, if you were getting that before my last patch, then I don't think
you return ERANGE for underflow.
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2007-01-07 08:49:31 | pgsql: Indent comments in makefiles better so they don't appear in the |
Previous Message | Tom Lane | 2007-01-07 03:00:12 | Re: [COMMITTERS] pgsql: Check for ERANGE in exp() |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-01-07 03:09:08 | Re: COPY with no WAL, in certain circumstances |
Previous Message | Tom Lane | 2007-01-07 03:00:12 | Re: [COMMITTERS] pgsql: Check for ERANGE in exp() |