pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Pitt <martin@piware.de>
To: pgsql-ports@postgresql.org
Subject: Re: 'point' test suite failure on arm
Date: Tue, 20 Dec 2005 17:45:33 +0100
Message-ID: <20051220164533.GO5684@piware.de> (raw)
In-Reply-To: <236.1135096192@sss.pgh.pa.us>
References: <20051220111855.GD5684@piware.de>
	<236.1135096192@sss.pgh.pa.us>

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?

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (6+ messages)  latest in thread

Message-ID: <20051220164533.GO5684@piware.de>
Permalink:  ../20051220164533.GO5684@piware.de/
Also on:    postgresql.org/message-id/20051220164533.GO5684@piware.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: martin@piware.de
  Subject: Re: 'point' test suite failure on arm
  In-Reply-To: <20051220164533.GO5684@piware.de>
  References: <20051220111855.GD5684@piware.de> <236.1135096192@sss.pgh.pa.us> <20051220164533.GO5684@piware.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox