Re: 'point' test suite failure on arm - Mailing list pgsql-ports

From Martin Pitt
Subject Re: 'point' test suite failure on arm
Date
Msg-id 20051220164533.GO5684@piware.de
Whole thread Raw
In response to Re: 'point' test suite failure on arm  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 'point' test suite failure on arm
List 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?

Attachment

pgsql-ports by date:

Previous
From: Tom Lane
Date:
Subject: Re: 'point' test suite failure on arm
Next
From: "Jim C. Nasby"
Date:
Subject: Re: 'point' test suite failure on arm