From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nikola Milutinovic Newsgroups: gmane.os.tru64.managers Subject: NaN on Tru64 5.1B Date: Fri, 14 May 2004 20:06:10 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <40A50A92.9020301@ev.co.yu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1084558014 4954 80.91.224.253 (14 May 2004 18:06:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 May 2004 18:06:54 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri May 14 20:06:46 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BOh53-0002Hh-00 for ; Fri, 14 May 2004 20:06:46 +0200 Original-Received: (qmail 15072 invoked by uid 5); 14 May 2004 18:06:38 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15057 invoked by uid 49501); 14 May 2004 18:06:38 -0000 Original-Received: from Nikola.Milutinovic@ev.co.yu by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-4.9/5.0):. Processed in 0.471628 secs); 14 May 2004 18:06:38 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 14 May 2004 18:06:37 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HXP00A7UUAZW7@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 14 May 2004 14:06:37 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HXP00E02UAT4I@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 14 May 2004 14:06:30 -0400 (EDT) Original-Received: from Firewall.ev.co.yu (gateway.ev.co.yu [194.247.214.130]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with SMTP id <0HXP008I3UAQXZ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 14 May 2004 14:06:29 -0400 (EDT) Original-Received: by Firewall.ev.co.yu; (5.65v4.0/1.3/10May95) id AA17645; Fri, 14 May 1999 20:05:50 +0200 Original-Received: from ev.co.yu (Dial-In-1.ev.co.yu [192.168.61.197]) by Uprava.ev.co.yu (8.12.10/8.12.10) with ESMTP id i4EI4qRU008102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 14 May 2004 20:04:56 +0200 (MET DST) Original-To: "'tru64-unix-managers@ornl.gov'" X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) Xref: main.gmane.org gmane.os.tru64.managers:6948 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6948 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.