From owner-freebsd-numerics@freebsd.org Tue Feb 14 05:53:13 2017 Return-Path: Delivered-To: freebsd-numerics@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A0D1CDE721 for ; Tue, 14 Feb 2017 05:53:13 +0000 (UTC) (envelope-from stephen@missouri.edu) Received: from um-nip4-missouri-out.um.umsystem.edu (um-nip4-missouri-out.um.umsystem.edu [198.209.49.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "um-tip1.um.umsystem.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFE0013BF for ; Tue, 14 Feb 2017 05:53:12 +0000 (UTC) (envelope-from stephen@missouri.edu) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2ECBgDYmqJY/xk40cZeGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBg1JhKl8Hn2eBfgGVQwEphXgCgW9DFAECAQEBAQEBAQNfKIJbPRABAQE?= =?us-ascii?q?BAQEBAQEjAQEBAQEBIwINXgEDAnkQAgEIGC4yJQIEAQwBBQIBAQqJXQ6xFIgGA?= =?us-ascii?q?QeDSwEBAQEBBQEBAQEBAQEBEQ+IUYJqgnZmhl0Fm3IBg3KCB3WcKpMVNiKBAFM?= =?us-ascii?q?TgkSEPHUBiRMBgQsBAQE?= X-IPAS-Result: =?us-ascii?q?A2ECBgDYmqJY/xk40cZeGgEBAQECAQEBAQgBAQEBg1JhKl8?= =?us-ascii?q?Hn2eBfgGVQwEphXgCgW9DFAECAQEBAQEBAQNfKIJbPRABAQEBAQEBAQEjAQEBA?= =?us-ascii?q?QEBIwINXgEDAnkQAgEIGC4yJQIEAQwBBQIBAQqJXQ6xFIgGAQeDSwEBAQEBBQE?= =?us-ascii?q?BAQEBAQEBEQ+IUYJqgnZmhl0Fm3IBg3KCB3WcKpMVNiKBAFMTgkSEPHUBiRMBg?= =?us-ascii?q?QsBAQE?= Received: from ex2-t17.um.umsystem.edu ([198.209.56.25]) by um-nip4-exch-relay.um.umsystem.edu with ESMTP; 13 Feb 2017 23:52:36 -0600 Received: from EX2-T13.um.umsystem.edu (198.209.56.19) by EX2-T17.um.umsystem.edu (198.209.56.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Mon, 13 Feb 2017 23:52:36 -0600 Received: from EX2-T13.um.umsystem.edu ([198.209.56.19]) by EX2-T13.um.umsystem.edu ([198.209.56.19]) with mapi id 15.01.0669.032; Mon, 13 Feb 2017 23:52:35 -0600 From: "Montgomery-Smith, Stephen" To: Peter Jeremy , Alan Braslau CC: "freebsd-numerics@freebsd.org" Subject: Re: FreeBSD numerics - cpow() Thread-Topic: FreeBSD numerics - cpow() Thread-Index: AQHShhPDBOdP1i5sMka6fx2ywg6oKaFoYTUAgAAESQA= Date: Tue, 14 Feb 2017 05:52:35 +0000 Message-ID: References: <20170213091051.600f91e1@zoo.hsd1.co.comcast.net> <20170214053712.GD84013@server.rulingia.com> In-Reply-To: <20170214053712.GD84013@server.rulingia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [128.206.49.160] Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TckEfDvnbv10CaDplmCH13E5GfrRf6vUP" MIME-Version: 1.0 X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 05:53:13 -0000 --TckEfDvnbv10CaDplmCH13E5GfrRf6vUP Content-Type: multipart/mixed; boundary="aweFoUQjm3HxoDhau655gFHpJdbbnqmUL"; protected-headers="v1" From: Stephen Montgomery-Smith To: Peter Jeremy , Alan Braslau Cc: freebsd-numerics@freebsd.org Message-ID: Subject: Re: FreeBSD numerics - cpow() References: <20170213091051.600f91e1@zoo.hsd1.co.comcast.net> <20170214053712.GD84013@server.rulingia.com> In-Reply-To: <20170214053712.GD84013@server.rulingia.com> --aweFoUQjm3HxoDhau655gFHpJdbbnqmUL Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/13/2017 11:37 PM, Peter Jeremy wrote: > On 2017-Feb-13 09:10:51 -0700, Alan Braslau = wrote: >> What is the current status of getting cpow() implemented in FreeBSD? >=20 > There's a WIP in https://svnweb.freebsd.org/base/user/peterj/ > but I got caught up trying to work out how to perfectly multiply > two doubles and am not currently working on it. >=20 > I wonder if we should implement something like >=20 > double cpow(double x, double y) > { > return cexp(y * clog(x)); > } >=20 > just to have something to resolve symbols. >=20 If you look at page 478 of the document http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf (which is, I think, the official C99 standard), the footnote suggests that this would be a reasonable thing to do. So I say yes, let's do it. --aweFoUQjm3HxoDhau655gFHpJdbbnqmUL-- --TckEfDvnbv10CaDplmCH13E5GfrRf6vUP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJYopsiAAoJECuXJ2rgj9mCgh8H/3qbG/XL9RLtH1rlFBQ6NeCi yQ9txayAmJ6UnTaqpMonRCMGle1SMys8O0KDufWIacRFNIbno7hmFqt6Iq4dOICG cXKYmfBnxmEhAfspgh4D+IKX2eMRUnFSJwras4MSrg8zLzD0503Vp2mOdvPs3dkb GigvdgWtgc6c4barPxBn4tHuIiZtF0oWjSXz6FbgEXTA3ZVG8xIChn7x3rv7DqUH pAgZshY6dUXV/AyaAUSaDz2qLeMriU35ZnHTcCcxtFuSHynSKe5C+SwHos9QusMM gUEahEaeQxv6gxTUUhbn/U597f8f97hqX+usipj4kiJSi/TNaaWKuU+CG6nh9Zw= =CqwR -----END PGP SIGNATURE----- --TckEfDvnbv10CaDplmCH13E5GfrRf6vUP--