Re: 'point' test suite failure on arm

Поиск
Список
Период
Сортировка
От Martin Pitt
Тема Re: 'point' test suite failure on arm
Дата
Msg-id 20051220164533.GO5684@piware.de
обсуждение исходный текст
Ответ на Re: 'point' test suite failure on arm  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 'point' test suite failure on arm
Список pgsql-ports
Hi Tom!

Tom Lane [2005-12-20 11:29 -0500]:
> Martin Pitt <martin@piware.de> writes:
> > I recently noticed that the PostgreSQL test suite fails on arm in the
> > 'point' test (diff pasted below). However, the difference is really
> > small and is well within the rounding error range. It just seems that
> > the expected output has one digit less than the actual result.
>
> > Is this a mere bug in the test suite? Any idea why it just occurs on
> > the arm platform? It works fine on all other 11 platforms of Debian.
>
> Floating point math a bit different on the ARM?  The quoted result is
> basically sqrt(200::float8), and we've never before heard reports of
> different platforms printing different answers, though I suppose it's
> possible if the FP hardware is not IEEE-spec.  I'd suggest asking
> whoever maintains libm for Debian.

I will do that. I just wondered why the expected and actual result are
actually the same number, but differ only in the presented precision.

Thanks,

Martin

--
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 'point' test suite failure on arm
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: 'point' test suite failure on arm