Tom, The issue is with a select 'Infinity'::float4/'Infinity'::float4; which should return NAN. without the cast I get the overflow message from CheckFloat4Val with the cast I get NAN (as expected). How about testing for isnan() inside CheckFloat4Val (just for PARISC / Linux)?
I am trying to get this system working for the buildfarm as there are NO other HP PARISC system on the farm. Jim ---------- Original Message ----------- From: Tom Lane <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: "pgsql-hackers" <pgsql-hackers@postgresql.org> Sent: Tue, 01 Feb 2005 17:13:52 -0500 Subject: Re: [HACKERS] float4 regression test failed on linux parisc > "Jim Buttafuoco" <[EMAIL PROTECTED]> writes: > > Change: > > CheckFloat4Val(result); > > To: > > CheckFloat4Val((float4)result); > > CheckFloat4Val is defined to take a double, so whatever the above is > accomplishing is wrong: probably it's masking an out-of-range result. > I think you've hit a bug in Debian's version of gcc for PA-RISC. > > regards, tom lane ------- End of Original Message ------- ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])