Re: 'point' test suite failure on arm

From: Martin Pitt <martin(at)piware(dot)de>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: 'point' test suite failure on arm
Date: 2005-12-20 16:45:33
Message-ID: 20051220164533.GO5684@piware.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hi Tom!

Tom Lane [2005-12-20 11:29 -0500]:
> Martin Pitt <martin(at)piware(dot)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?

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Jim C. Nasby 2005-12-20 21:37:27 Re: 'point' test suite failure on arm
Previous Message Tom Lane 2005-12-20 16:29:52 Re: 'point' test suite failure on arm