delorie.com/archives/browse.cgi | search |
From: | <ams AT ludd DOT luth DOT se> |
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 |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |