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

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

            regards, tom lane

pgsql-ports by date:

Previous
From: Martin Pitt
Date:
Subject: Re: 'stats' test suite failure on s390
Next
From: Martin Pitt
Date:
Subject: Re: 'point' test suite failure on arm