Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group