Re: [PATCH] Fix float8 parsing of denormal values (on some platforms?)

From: Abhijit Menon-Sen <ams(at)toroid(dot)org>
To: Marti Raudsepp <marti(at)juffo(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org, Jeroen Vermeulen <jtv(at)xs4all(dot)nl>
Subject: Re: [PATCH] Fix float8 parsing of denormal values (on some platforms?)
Date: 2012-01-26 15:57:02
Message-ID: 20120126155702.GE30769@toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 2011-12-21 18:24:17 +0200, marti(at)juffo(dot)org wrote:
>
> > I think the least invasive fix, as proposed by Jeroen, is to fail only
> > when ERANGE is set *and* the return value is 0.0 or +/-HUGE_VAL.
> > Reading relevant specifications, this seems to be a fairly safe
> > assumption. That's what the attached patch does.
>
> Oops, now attached the patch too.

Approach seems sensible, patch applies, builds, and passes tests.
Marking ready for committer and crossing fingers about buildfarm
failures…

-- ams

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-01-26 16:04:52 Re: WIP patch for parameterized inner paths
Previous Message Magnus Hagander 2012-01-26 15:50:48 Re: Pause at end of recovery