NaN on Tru64 5.1B

From: Nikola Milutinovic (Nikola.Milutinovic@ev.co.yu)
Date: Fri May 14 2004 - 14:06:10 EDT


Hi all, I'm back.

Trying to compile PostgreSQL 7.4.2. It went smoothly on Tru64 UNIX 4.0D,
on 5.1B both CC and TDC C belch on PostgreSQL's definition of NaN.

It is defined as:

#define NAN (0.0/0.0)

"cc" reports:

cc -pthread -std -O3 -c99 -I../../../../src/include -pthread -c -o
float.o float.c
cc: Error: float.c, line 196: In this statement, the libraries on this
platform do not yet support compile-time evaluation of the constant
expression "0.0/0.0". (constfoldns)
                        val = NAN;
------------------------------^

What is the definition of NaN or NAN on Tru64 UNIX 5.1B?

Nix.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:58 EDT