| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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 <corinna-cygwin AT cygwin DOT com> |
| 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> <crkbpm$ker$1 AT sea DOT gmane DOT org> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <crkbpm$ker$1@sea.gmane.org> |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |