| 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:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; q=dns; s= | |
| default; b=RJjI61eCPCTpQ0xzC3PnC7PrGJZqrVjAAZnNDahw4vjj5OB8wuYS0 | |
| fwK5h+D/Yt9mAfFkHY0DT46OOJMvHQDORxoJDkuda0RZo31GL95b60NymjxVdJ1I | |
| z/bkZ9DfHQQrXnMZsPkXd+RzI0aQXj1IkmY0xgbiIa/f2IRlSrNkic= | |
| 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:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; s=default; | |
| bh=sE8sFfsYReMJ67JmGKtgnpWWyfY=; b=p/J3zZCpag9pUbIM6p6dqZFTQ5M9 | |
| OHceuePPg7L4TGx4IfI1BxfvZhPkFHWQyK9tooExKn+nuEBb04RXvNtEO5Es0s3Q | |
| R4FBiPhkgyBipLVeOPQCdtjd4EH/I72SL509mcZZ2vivBDRXOkH8JXP8ggQIVs4Q | |
| GMwEox2JVmi6Rk8= | |
| 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 |
| Authentication-Results: | sourceware.org; auth=none |
| X-Spam-SWARE-Status: | No, score=-105.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= |
| X-HELO: | mout.kundenserver.de |
| Date: | Tue, 14 Aug 2018 11:56:19 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: strtod ("nan") returns negative NaN |
| Message-ID: | <20180814095618.GT3747@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <CANnLRdii8mX71D936AhhEYm+S0s4gS5RGgpPhV_rB6=kzmXKsw AT mail DOT gmail DOT com> <20180814 DOT 100952 DOT 1684125661222835312 DOT trueroad AT trueroad DOT jp> <20180814 DOT 113135 DOT 1571893395887584078 DOT trueroad AT trueroad DOT jp> <20180814 DOT 134527 DOT 917341694729989717 DOT trueroad AT trueroad DOT jp> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20180814.134527.917341694729989717.trueroad@trueroad.jp> |
| User-Agent: | Mutt/1.9.2 (2017-12-15) |
--jigfid2yHjNFZUTO
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Aug 14 13:45, Masamichi Hosoda wrote:
> >From a50ee5a4747a99c70469a53fe959f3dc22d3b79a Mon Sep 17 00:00:00 2001
> From: Masamichi Hosoda <trueroad AT trueroad DOT jp>
> Date: Tue, 14 Aug 2018 12:50:32 +0900
> Subject: [PATCH] Fix strtod ("nan") returns qNaN
>=20
> The definition of qNaN for x86_64 and x86 was wrong.
> So strtod ("nan") returned sNaN instead of qNaN.
>=20
> Furthermore, it was inverted the sign bit with the presence of `-` charac=
ter.
> So strtod ("-nan") returned qNaN.
>=20
> This commit fixes definition of qNaN
> and removes the sign bit inversion when evaluating "nan".
> ---
> newlib/libc/stdlib/gd_qnan.h | 8 ++++----
> newlib/libc/stdlib/strtod.c | 1 +
> 2 files changed, 5 insertions(+), 4 deletions(-)
Can you please send this patch to the newlib AT sourceware DOT org
mailing list? As soon as something in newlib gets changed, a lot of
other targets are affected and the guys working on those targets should
have a chance to chime in.
Thanks,
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--jigfid2yHjNFZUTO
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAltyp0IACgkQ9TYGna5E
T6B2IA//aR8SlbT+Ql97zAmbVR1mXq+1L1PtCzOTHYV+TynTr8At8f0klNBuNmXt
K/VwCxNcgQJTlSN2uBmF9gvmzKQ+9r6gRD//x6pFGOHtndo7TB04dsqEVWGhB6/j
JIzEpw5SUlOGJ1bhOxzuVpGGDr7kFP/qGan5demHqOE7BaJoFQMMgDvRXuJe7lNc
umG+EGVpztQLe3ikGrw5aNIw7n+zA42pbggaMD+nu0EFP9DBi/vxNFXey11iKPJ2
zLm8XhJdLsWYsl6dQq5UKA1aZlCg7KX0tq5U4dF3pN/b1pEOvOagSLVLLZ7uHO6f
PT27KyUWYm59E+U2PBXUnN0adyEL/Pksr5th4MLkolNeqV000Sxwnhmis+aYRZAi
UdSa/Ak25ArH4AeP5xQsMwUcabftajZgmtVF/IzW9YoIHruUc1InH7/YpZZ/T4Fh
yuyS1/q2HpvUxwlPXZHRnw4XBZA14LpUDeHG2kQa+jKSIhKNJ6q5Wtr3jCt0xxOz
kOWVsSMih/XkaGu2YzV+z1Rg1cTO9NnZOVjbgCJZo5yDwIoluiJjN0jZbewJnixt
wx84AR5plazb7KASCV0nqh2h1qRGuYv0OPmPKUUeTC0RatdenQUmuGKbkoVdUQaQ
RnY3Q7D1kFIXp/BCRHbN7DtqVL8byIvLyGlw4JjuQPKJxAo3fp0=
=HEmD
-----END PGP SIGNATURE-----
--jigfid2yHjNFZUTO--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |