Geometry test on NetBSD (was Re: RC1?)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Geometry test on NetBSD (was Re: RC1?)
Дата
Msg-id 28734.1037772396@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: RC1?  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Ответы Re: Geometry test on NetBSD (was Re: RC1?)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: [PORTS] Geometry test on NetBSD (was Re: RC1?)  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> On Tue, Nov 19, 2002 at 10:53:59AM -0500, Tom Lane wrote:
>> Presumably that was put in because it was correct on i86.  How do you
>> feel about changing that entry to
>> geometry/i.86-.*-netbsd=geometry-positive-zeros
>> rather than deleting it?

> I was under the impression until now that it was geometry.out for i86 using
> the libm387 math library, and geometry-positive-zeros for everyone else, but
> this acorn32 box is also giving geometry.out, so I must be wrong, in fact
> I've just tried not using libm387 on an i386, and it gives geometry.out
> too, so we might as well delete it...

Hm.  Another possibility is that the existing resultmap entry is correct
for some prior netbsd version, but is correct no longer.

AFAIK, all modern hardware claims compliance to the IEEE floating-point
arithmetic standard, so failure to print minus zero as minus zero is
very likely to be a software issue not hardware.  That suggests strongly
that the issue is netbsd version (specifically libc version) and not the
hardware platform.

If we knew which netbsd version the behavior changed at, we could put in
some version-specific resultmap entries.  But unless someone can provide
datapoints on that, I guess we'll just have to update resultmap to match
recent versions --- ie, take out the entry pointing to
geometry-positive-zeros.

Any objections out there?

            regards, tom lane

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PREPARE and parameter types (Re: [INTERFACES] DBD::PostgreSQL)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Geometry test on NetBSD (was Re: RC1?)