| From: | "Henry B(dot) Hotz" <hotz(at)jpl(dot)nasa(dot)gov> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>, pgsql-hackers(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org |
| Subject: | Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?) |
| Date: | 2002-11-20 17:55:29 |
| Message-ID: | p05111703ba017bb98beb@[137.78.212.226] |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-ports |
At 1:15 AM -0500 11/20/02, Tom Lane wrote:
>Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> Tom, can you clarify why -0 is valid.
>
>The IEEE spec absolutely thinks that -0 and +0 are distinct entities.
>I don't remember why, at one in the morning ... but if you insist I'm
>sure that plenty sufficient numerical-analysis reasons can be produced.
>The guys who wrote that spec knew what they were doing (that's why it's
>been adopted so universally).
It's so that 1/(1/-infinity) == -infinity. There are probably other
reasons as well.
I'm just guessing here, but it's possible NetBSD acquired the bug by
trying to be functional on non-IEEE hardware. I hope that whoever
found the problem (I don't see that in this thread) filed a bug
report with NetBSD.
--
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry(dot)B(dot)Hotz(at)jpl(dot)nasa(dot)gov, or hbhotz(at)oxy(dot)edu
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Patrick Welche | 2002-11-20 17:57:53 | Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?) |
| Previous Message | Peter Eisentraut | 2002-11-20 17:48:15 | Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?) |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Patrick Welche | 2002-11-20 17:57:53 | Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?) |
| Previous Message | Peter Eisentraut | 2002-11-20 17:48:15 | Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?) |