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 To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: Bug: atof() can't parse "NaN" Date: Thu, 06 Jan 2005 13:49:42 -0800 Lines: 8 Message-ID: References: <20050106160711 DOT GA5621 AT epictechnology DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: adsl-68-120-146-125.dsl.snfc21.pacbell.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041201 Thunderbird/1.0RC1 Mnenhy/0.7 In-Reply-To: <20050106160711.GA5621@epictechnology.co.uk> X-IsSubscribed: yes 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. -- 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/