Mail Archives: djgpp-workers/2003/02/28/12:31:54

From: <ams AT ludd DOT luth DOT se>
Message-Id: <>
Subject: Re: strtod.c: inf and nan support
In-Reply-To: <> "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


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?




- Raw text -

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