Re: NaN/Inf fix for ECPG - Mailing list pgsql-hackers

From Boszormenyi Zoltan
Subject Re: NaN/Inf fix for ECPG
Date
Msg-id 4B7A7E92.1000800@cybertec.at
Whole thread Raw
In response to Re: NaN/Inf fix for ECPG Re: out-of-scope cursor errors  (Michael Meskes <meskes@postgresql.org>)
Responses Re: NaN/Inf fix for ECPG
List pgsql-hackers
Hi,

buildfarm member "pika" fails the NaN test.
Does FreeBSD/MIPS really return true for isinf(NaN)?
Anyway, the attached patch tries to fix the test case
by testing isnan() first and doesn't check isinf()
if isnan() returned true.

Best regards,
Zoltán Böszörményi

--
Bible has answers for everything. Proof:
"But let your communication be, Yea, yea; Nay, nay: for whatsoever is more
than these cometh of evil." (Matthew 5:37) - basics of digital technology.
"May your kingdom come" - superficial description of plate tectonics

----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/


Attachment

pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Explain buffers display units.
Next
From: Boszormenyi Zoltan
Date:
Subject: Re: NaN/Inf fix for ECPG