From: Message-Id: <200302281731.h1SHVlJ21733@speedy.ludd.luth.se> Subject: Re: strtod.c: inf and nan support In-Reply-To: <3E5D44B8.B932A2EC@phekda.freeserve.co.uk> "from Richard Dawe at Feb 26, 2003 10:50:32 pm" To: djgpp-workers AT delorie DOT com Date: Fri, 28 Feb 2003 18:31:47 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL78 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamScore: s Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi. According to Richard Dawe: > ams AT ludd DOT luth DOT se wrote: > > +extern float __dj_nan; > > +#define NAN __dj_nan ... > What does isnan(NAN) give? isnan(NAN) -> 1. Problem alert! isnan should (must?) be a macro for it's supposed to support floats, doubles and long doubles at the same time. > Does this affect the results given by tests/cygnus > at all? No. Right, MartinS