X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6F73C9DCAA6 for ; Tue, 20 Dec 2005 12:45:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12200-07 for ; Tue, 20 Dec 2005 12:45:39 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from box79162.elkhouse.de (box79162.elkhouse.de [213.9.79.162]) by postgresql.org (Postfix) with ESMTP id 0D2589DC950 for ; Tue, 20 Dec 2005 12:45:31 -0400 (AST) Received: from localhost.localdomain (unknown [195.227.105.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Martin Pitt (workstation)", Issuer "piware CA" (verified OK)) by box79162.elkhouse.de (Postfix) with ESMTP id E58482DFFE for ; Tue, 20 Dec 2005 17:45:28 +0100 (CET) Received: by localhost.localdomain (Postfix, from userid 1000) id 6E9A731EA; Tue, 20 Dec 2005 17:45:33 +0100 (CET) Date: Tue, 20 Dec 2005 17:45:33 +0100 From: Martin Pitt To: pgsql-ports@postgresql.org Subject: Re: 'point' test suite failure on arm Message-ID: <20051220164533.GO5684@piware.de> Mail-Followup-To: pgsql-ports@postgresql.org References: <20051220111855.GD5684@piware.de> <236.1135096192@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="N5iGxCIPT7YMRg16" Content-Disposition: inline In-Reply-To: <236.1135096192@sss.pgh.pa.us> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.454 required=5 tests=[AWL=0.454] X-Spam-Score: 0.454 X-Spam-Level: X-Archive-Number: 200512/18 X-Sequence-Number: 2273 --N5iGxCIPT7YMRg16 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Tom! Tom Lane [2005-12-20 11:29 -0500]: > Martin Pitt 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. >=20 > > 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. >=20 > 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 --=20 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? --N5iGxCIPT7YMRg16 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDqDUtDecnbV4Fd/IRAu17AKCY2AHxQkXrp3/+r7Td8tNrUMwZGgCg1XrV qpkrRmJkf6gODeDhsAdXbuw= =A+BM -----END PGP SIGNATURE----- --N5iGxCIPT7YMRg16--