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 24A1E9DC819 for ; Tue, 20 Dec 2005 12:29:56 -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 11355-03 for ; Tue, 20 Dec 2005 12:29:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 8091D9DC816 for ; Tue, 20 Dec 2005 12:29:53 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jBKGTqqx000237; Tue, 20 Dec 2005 11:29:52 -0500 (EST) To: Martin Pitt cc: pgsql-ports@postgresql.org Subject: Re: 'point' test suite failure on arm In-reply-to: <20051220111855.GD5684@piware.de> References: <20051220111855.GD5684@piware.de> Comments: In-reply-to Martin Pitt message dated "Tue, 20 Dec 2005 12:18:55 +0100" Date: Tue, 20 Dec 2005 11:29:52 -0500 Message-ID: <236.1135096192@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.022 required=5 tests=[AWL=0.022] X-Spam-Score: 0.022 X-Spam-Level: X-Archive-Number: 200512/17 X-Sequence-Number: 2272 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. > 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