Message-ID: <00b201c0e346$18826af0$6600a8c0@mars> From: "Johan Henriksson" To: References: <9efbql$5fm AT netnews DOT hinet DOT net> Subject: Re: what is -NaN Date: Wed, 23 May 2001 07:06:14 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Reply-To: djgpp AT delorie DOT com > I used float value and printf to screen > Bu find -NaN String > What is going on > Where is My wong NaN=Not A Number it's another way of saying the number is screwed up and can't be presented to screen. Generally occurs after divide by zero, uninitialized numbers or situations when they get integerformat (like from scanf if you use the wrong symbol).