Re: bug in float8in()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: "Richard Wang" <ruc_wang(at)hotmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: bug in float8in()
Date: 2008-04-02 20:48:19
Message-ID: 14155.1207169299@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)net> writes:
> Float is an approximate datatype. In this case, linux makes a fairly
> wild approximation (that it's the same as infinity) whereas windows
> says it just can't approximate it.

Note that the behavior isn't consistent across Unixen either ---
my HPUX box acts like Windows here. Basically Postgres just tries
to reflect the platform's floating-point support.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2008-04-02 20:53:01 Re: Several tags around PostgreSQL 7.1 broken
Previous Message Mark Mielke 2008-04-02 20:34:09 Re: [GENERAL] SHA1 on postgres 8.3