Re: [GENERAL] PgSQL 7.4.2 - NaN on Tru64 UNIX - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [GENERAL] PgSQL 7.4.2 - NaN on Tru64 UNIX
Date
Msg-id 11395.1084938064@sss.pgh.pa.us
Whole thread Raw
Responses Re: [GENERAL] PgSQL 7.4.2 - NaN on Tru64 UNIX - CORRECTION!!!  (Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>)
List pgsql-hackers
Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu> writes:
> [ about NaN on Tru64 ]
> This compiles on Tru64 4.0D (the compiler swallows it), but fails on
> Tru64 UNIX 5.1B. Both basic CC and DTK Compaq CC break on that file
> complaining on that constant evaluation. The best way to solve it is to
> use system definition of "Infinity Constants":
> ...
> + #define NAN   DBL_INFINITY

Current CVS tip will probably fail with this, because we expect the
platform to distinguish between NaN and Infinity.  Could you retry your
experiments with a recent snapshot and let us know what seems best now?

            regards, tom lane

pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Call for 7.5 feature completion
Next
From: Tom Lane
Date:
Subject: Re: Clean-up callbacks for non-SR functions