delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/23/01:07:20

Message-ID: <00b201c0e346$18826af0$6600a8c0@mars>
From: "Johan Henriksson" <jhe AT realsoftware DOT cjb DOT net>
To: <djgpp AT delorie DOT com>
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
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).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019