pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin Pitt <martin@piware.de>
Cc: pgsql-ports@postgresql.org
Subject: Re: 'point' test suite failure on arm
Date: Tue, 20 Dec 2005 11:29:52 -0500
Message-ID: <236.1135096192@sss.pgh.pa.us> (raw)
In-Reply-To: <20051220111855.GD5684@piware.de>
References: <20051220111855.GD5684@piware.de>

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



view thread (6+ messages)  latest in thread

Message-ID: <236.1135096192@sss.pgh.pa.us>
Permalink:  ../236.1135096192@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/236.1135096192@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, martin@piware.de
  Subject: Re: 'point' test suite failure on arm
  In-Reply-To: <236.1135096192@sss.pgh.pa.us>
  References: <20051220111855.GD5684@piware.de> <236.1135096192@sss.pgh.pa.us>

* 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