Re: [PORTS] Geometry test on NetBSD (was Re: RC1?) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PORTS] Geometry test on NetBSD (was Re: RC1?)
Date
Msg-id Pine.LNX.4.44.0211201844410.12428-100000@localhost.localdomain
Whole thread Raw
In response to Geometry test on NetBSD (was Re: RC1?)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PORTS] Geometry test on NetBSD (was Re: RC1?)  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Re: [PORTS] Geometry test on NetBSD (was Re: RC1?)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> AFAIK, all modern hardware claims compliance to the IEEE floating-point
> arithmetic standard, so failure to print minus zero as minus zero is
> very likely to be a software issue not hardware.  That suggests strongly
> that the issue is netbsd version (specifically libc version) and not the
> hardware platform.

I could confirm my initial suspicion: it's a *printf() library issue.  The
FreeBSD CVS log tells the tale:

http://www.de.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/stdio/vfprintf.c

The next FreeBSD subrelease (4.8?) should have this fixed.  OpenBSD is not
fixed.  NetBSD and Darwin seem to have temporarily hidden their cvsweb in
shame, but I would assume it's the same issue.  Not sure what HP-UX is
doing about it.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-hackers by date:

Previous
From: "Ken Hirsch"
Date:
Subject: Re: Geometry test on NetBSD (was Re: RC1?)
Next
From: Tom Lane
Date:
Subject: Re: float4 problem