Mail Archives: djgpp/1995/02/02/23:16:50
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
-------------------------------------------------------------------
- Raw text -