Re: [HACKERS] union regression test - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] union regression test
Date
Msg-id 199809170359.XAA20184@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] union regression test  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
> I had included float8 in this particular regression test to exercise the
> int4->float8 "promotion" since float8 is a "preferred type". Don't know
> why float4 should in general have different or better behavior than
> float8 wrt conversions and rounding; you may just be lucky on your
> platform.

In fact, float4 normally has much _worse_ floating point portability
than float8.

float4 can't seem to get even simple number right.


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
http://www.op.net/~candle              |  (610) 353-9879(w)
  +  If your life is a hard drive,     |  (610) 853-3000(h)
  +  Christ can be your backup.        |

pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] union regression test
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] union regression test