This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug: atof() can't parse "NaN"


On Jan  6 13:49, Shankar Unni wrote:
> Roger Leigh wrote:
> 
> >  our_nan = atof ("NaN");
> 
> Which platform does this work on, for you? I wouldn't expect it to 
> "work" (i.e. return a NaN), and I can't get it to work on a Linux 
> (somewhat old, I admit) box either. Or using (hiss!) MSDEV (VC++ 2003 
> .NET) on a WinXP box.

The ISO C standard expects it to work.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]