Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-ports by date

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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group