Re: [BUG] Denormal float values break backup/restore

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: Jeroen Vermeulen <jtv(at)xs4all(dot)nl>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUG] Denormal float values break backup/restore
Date: 2011-06-20 12:22:25
Message-ID: BANLkTi=Y1ncujJ__smWdtRw3X=3bhrksSg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, thanks for chiming in.

On Sat, Jun 11, 2011 at 22:08, Jeroen Vermeulen <jtv(at)xs4all(dot)nl> wrote:
> AIUI that is defined to be a little vague, but includes denormalized numbers
> that would undergo any rounding at all.  It says that on overflow the
> conversion should return the appropriate HUGE_VAL variant, and set ERANGE.
>  On underflow it returns a reasonably appropriate value (and either may or
> must set ERANGE, which is the part that isn't clear to me).

Which standard is that? Does IEEE 754 itself define strtod() or is
there another relevant standard?

Regards,
Marti

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2011-06-20 12:23:11 Re: Grouping Sets
Previous Message Devrim GÜNDÜZ 2011-06-20 12:03:37 Re: [COMMITTERS] pgsql: Fixed string in German translation that causes segfault.