Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 6 Jan 2005 23:29:01 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Bug: atof() can't parse "NaN" Message-ID: <20050106222901.GR23702@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20050106160711 DOT GA5621 AT epictechnology DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i 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 AT cygwin DOT 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/