Re: float8 errors in HEAD...

From: Sean Chittenden <sean(at)chittenden(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: float8 errors in HEAD...
Date: 2003-05-07 23:17:03
Message-ID: 20030507231703.GR49916@perrin.int.nxad.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> > I'm not sure if the regression tests haven't been updated or if
> > there's a change, but I'm getting this on a recent FreeBSD machine
> > with gcc 3.2.2. Any ideas? -sc
>
> Apparently your machine now matches the "standard" float8.out.

*nods* The old routines were pretty old and gcc 2.95.4 produced broken
code for anything higher than -O0. :( The newer routines were
recently imported and work properly, however, resulting in the lack of
brokenness.

http://netlib.bell-labs.com/netlib/fp/

> Do you know how to tell the difference between what you have and the
> freebsd releases that produce the small-is-zero results?

I don't know in what context you're talking about detecting this, but,
how's this?

#ifdef __FreeBSD_version > 500112
/* Working strtod() */
#else
/* Broken code strtod() */
#endif

-sc

--
Sean Chittenden

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Randall Lucas 2003-05-07 23:52:30 Re: [SQL] Unanswered Questions WAS: An unresolved performance problem.
Previous Message Bernd von den Brincken 2003-05-07 19:57:56 Re: [SQL] An unresolved performance problem.