Re: [PATCH] Fix float8 parsing of denormal values (on some platforms?)
Marti Raudsepp <marti@juffo.org>
From: Marti Raudsepp <marti@juffo.org>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Jeroen Vermeulen <jtv@xs4all.nl>
Date: 2011-12-21T16:24:17Z
Lists: pgsql-hackers
Attachments
- float8-denormal-parsing.patch (text/x-patch) patch
On Wed, Dec 21, 2011 at 18:21, Marti Raudsepp <marti@juffo.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. Regards, Marti