delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:cc:subject:in-reply-to:message-id | |
:references:mime-version:content-type; q=dns; s=default; b=bnw2z | |
6NDCGeQrfG9UM+gwiaygQZunuaFBp4T1BKO8CnaSdw1XbXr5q32eRK4qECIWK9Jk | |
5sAsaRhyZQh9rAEPeuhB5Y9O4Qlk2SHU8tfqBylB0J5vKdihivsL/UDpDgLJ2lWf | |
SBtE9yRBk4uVxRsGPxnOX/3Nhvs4g5gfSw4Gfw= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:cc:subject:in-reply-to:message-id | |
:references:mime-version:content-type; s=default; bh=NeZRg+z5IqB | |
jBWLfrjvO2gjlOx8=; b=E4GAKvnNn8nTaEUa+CZjRBHbbcSHzcPlNdSggIpDYYn | |
ZbmpYTslySMrF72i35+lOOsYOi//lxvg1HrjcsRQf4ryx7bSeGit4YEkPD0QoqE2 | |
MnFEj4D/WCTkcAqRb8X7ysckZ4BheCXrDCPoQ46FrH/deNeIMzmTPKqD0PIjoN7w | |
= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Delivered-To: | corinna-cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=H*Ad:U*corinna-cygwin |
X-HELO: | relay1.mentorg.com |
Date: | Tue, 14 Aug 2018 19:44:15 +0000 |
From: | Joseph Myers <joseph AT codesourcery DOT com> |
To: | Masamichi Hosoda <trueroad AT trueroad DOT jp> |
CC: | <newlib AT sourceware DOT org>, <cygwin AT cygwin DOT com>, <corinna-cygwin AT cygwin DOT com> |
Subject: | Re: strtod ("nan") returns negative NaN |
In-Reply-To: | <20180815.000539.1012490218433540835.trueroad@trueroad.jp> |
Message-ID: | <alpine.DEB.2.20.1808141943140.21830@digraph.polyomino.org.uk> |
References: | <20180814 DOT 134527 DOT 917341694729989717 DOT trueroad AT trueroad DOT jp> <20180814_dot_134527_dot_917341694729989717_dot_trueroad_at_trueroad_dot_jp> <20180814095618 DOT GT3747 AT calimero DOT vinschen DOT de> <20180815 DOT 000539 DOT 1012490218433540835 DOT trueroad AT trueroad DOT jp> |
User-Agent: | Alpine 2.20 (DEB 67 2015-01-07) |
MIME-Version: | 1.0 |
On Wed, 15 Aug 2018, Masamichi Hosoda wrote: > On Linux with glibc, both strtod ("nan") > and strtod ("-nan") return positive NaN. > > So I've created the patch that behaves like glibc. > Both strtod ("nan") and strtod ("-nan") return positive NaN. I would suggest that you should not consider fixed bugs in glibc (bug 23007 in this case) to be appropriate to emulate in other libraries. -- Joseph S. Myers joseph AT codesourcery DOT com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |