From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by sourceware.org (Postfix) with ESMTP id D46C5385E00B for ; Thu, 26 Mar 2020 11:42:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D46C5385E00B Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-351-T2v0E6wZMHWPWqOWMbUKog-1; Thu, 26 Mar 2020 07:42:53 -0400 X-MC-Unique: T2v0E6wZMHWPWqOWMbUKog-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8DB601005513; Thu, 26 Mar 2020 11:42:52 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-112-67.ams2.redhat.com [10.36.112.67]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5CA2219925; Thu, 26 Mar 2020 11:42:52 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id E48F7A805E2; Thu, 26 Mar 2020 12:42:50 +0100 (CET) Date: Thu, 26 Mar 2020 12:42:50 +0100 From: Corinna Vinschen To: Keith Packard Cc: newlib@sourceware.org Subject: Re: NaN fixes in pow, powf, modf, modff Message-ID: <20200326114250.GI3261@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: Keith Packard , newlib@sourceware.org References: <20200326001821.174426-1-keithp@keithp.com> MIME-Version: 1.0 In-Reply-To: <20200326001821.174426-1-keithp@keithp.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bpVaumkpfGNUagdU" Content-Disposition: inline X-Spam-Status: No, score=-16.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2020 11:42:58 -0000 --bpVaumkpfGNUagdU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 25 17:18, Keith Packard via Newlib wrote: > The first patch makes modf set *iptr to qnan when provided an snan > parameter, which wasn't happening on ARM softfp because GCC elided the > * 1.0 operation. >=20 > The second patch cleans up modf/modff by not re-converting the float > to bits before extracting the sign bit. >=20 > The third patch makes pow return qnan instead of 1.0 when the > parameter is snan. >=20 > These functions now match glibc for all of my tests, which were > derived from the IEEE requirements. >=20 Pushed. Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer Red Hat --bpVaumkpfGNUagdU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl58lToACgkQ9TYGna5E T6A78hAAm4f5Em8CA6sFzUJXDuyuSGH2NUeelEOxQCzmTB45y4XTTrBPZFMQbMuL sRYk1mAR4Ve7U+wMxCKsl5VAg0x8XlN7fxzf9s+wDn8YX2H0sraLPd2Ie9YwY8bI E2ARiPzbzzyVQ0RGjtgjRem5FVECCnMyV9gZGY9FjALCDA3pvdjdcVr0uaF0G+0d pYgvnZsfO+XXvlC9JyaPG/yJQruvKG21iye8kCA+xooInqy6iMFi2U5UmrhpLRc1 BDWopOesgf0HLWSLpjSr5q49HSDOlyUtafZK9PR6Qh/tMJP4rJ9JYk/uE21lroQj TCDNn91FNyyMXWJvFhSFosArTptE+GBd+Irj1rw3hqMT1yrnAWn5xfvwcwQL7bAf /F3EfzlcQy3VqrJ1PqOi58ANfOVe/0tnirXeLAVzfHTAmZ3t5jnWeLvyHrsGqce4 6uhoegytqmheKSTTFA69VCuKzUU0qK4TmaNvVS1VJNxHPah5rMzgPz/6jVUibXSl W3qRJx7Mh48qLkcyR+gDV0UdzP/j4AcmmnIkuSmK4ZK3oSztFHfgBo901P+ne6iG PZtO4ZQygMJA4gPJvoV5ODy6CSNRNG4D23Cl6bhZv2fifaIuphoWeFsbzDzchsc+ Vc3SxmLGGA2fNJaLOhHz9+WlDX0vnPqnsfWcrg/eduZ8dtCWqB4= =tFLn -----END PGP SIGNATURE----- --bpVaumkpfGNUagdU--