Re: [PORTS] 'point' test suite failure on arm
Martin Pitt <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.ports |
|---|---|
| Message-ID | <[email protected]> |
Hi Tom! Tom Lane [2005-12-20 11:29 -0500]: > Martin Pitt <[email protected]> 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?
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDqDUtDecnbV4Fd/IRAu17AKCY2AHxQkXrp3/+r7Td8tNrUMwZGgCg1XrV qpkrRmJkf6gODeDhsAdXbuw= =A+BM -----END PGP SIGNATURE-----