[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NaN on Tru64 5.1B



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.