Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!csn!pikes!mercury.cair.du.edu!mnemosyne.cs.du.edu!isis.cs.du.edu!dpunjabi From: dpunjabi@isis.cs.du.edu (Dinesh Punjabi) Newsgroups: comp.sys.apollo Subject: Need help with floating point numbers (PLEASE HELP!!) Keywords: Apollo 425 (040), cc 6.8 Message-ID: <1991May16.235053.14200@mnemosyne.cs.du.edu> Date: 16 May 91 23:50:53 GMT Sender: usenet@mnemosyne.cs.du.edu (netnews admin account) Reply-To: dpunjabi@isis.cs.du.edu (Dinesh Punjabi) Organization: Nyx, Public Access Unix (sponsored by U. of Denver Math/CS dept.) Lines: 26 Disclaimer1: Nyx is a public access Unix system run by the University of Disclaimer2: Denver for the Denver community. The University has neither Disclaimer3: control over nor responsibility for the opinions of users. I'm having a problem with cc 6.8 on a 425 Apollo ( 040 upgrade ). I have this test program that looks like this : #include main() { float a; a = 1.0; printf( "a = %f\n", a ) ; } % cc test1.c % a.out % a = 1316880384.000000 The OS is 10.3 with psk8 patch using NON-ANSI environment. Any clues ?? I do not have any problem running this under the cc 6.7 on SR10.2 Please reply via email ... Dinesh