From: "Papp Istvan" To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Wed, 1 Feb 1995 21:06:14 GMT+0100 Subject: How to use Inf and NaN? Hi! I have a 486DX2-50 machine with MS DOS 6.22, and I use gcc 2.60. I'd like to use Inf and NaN with djgpp as a regular number. For example: x= log(0.0) results in floating point exception, but I would be very happy if -Inf was stored into x. Another example: x= 0.0 / 0.0 also generates floating point example, but I need NaN in x. Is there any solution for this problem? Thanx in advance, Pisti --------------------------------------- Istvan Papp d-papp AT nov DOT mht DOT bme DOT hu