NaN on Tru64 5.1B

From: Nikola Milutinovic <Nikola.Milutinovic_at_ev.co.yu>
Date: Fri, 14 May 2004 20:06:10 +0200

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.
Received on Fri May 14 2004 - 18:08:35 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT