Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>, <pgsql-hackers(at)postgresql(dot)org>, <pgsql-ports(at)postgresql(dot)org>
Subject: Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?)
Date: 2002-11-20 17:48:15
Message-ID: Pine.LNX.4.44.0211201844410.12428-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Henry B. Hotz 2002-11-20 17:55:29 Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?)
Previous Message Tom Lane 2002-11-20 17:42:49 Re: float4 problem

Browse pgsql-ports by date

  From Date Subject
Next Message Henry B. Hotz 2002-11-20 17:55:29 Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?)
Previous Message Ken Hirsch 2002-11-20 17:02:38 Re: Geometry test on NetBSD (was Re: [HACKERS] RC1?)