Date: Thu, 2 Feb 1995 20:54:27 +0001 (EST) From: Andy Adams Subject: DJGPP Floating Point Problem To: djgpp AT sun DOT soe DOT clarkson DOT edu I just installed the base set of djgpp software on my 486SX2 PC. I have no 80387 co-processor. I'm having trouble with floating point variables. When I run the following program, main() { printf("\n DVAL = %f", 100.0); exit(0); } I get DVAL = NaN. Everything else seems to work just fine. Is there anything I need to set up specially for floating point numbers? ------------------------------------------------------------------- Andy Adams |Internet: ada AT xmx DOT com XMX Corporation | 46 Manning Road |Telephone: (508)670-8444 Billerica, Ma. 01821 |Fax: (508)670-8448 -------------------------------------------------------------------