From owner-freebsd-numerics@freebsd.org Mon Nov 6 20:41:28 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 DB8F8E674C3 for ; Mon, 6 Nov 2017 20:41:28 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C1E721585 for ; Mon, 6 Nov 2017 20:41:28 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id vA6KfMce037628 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 6 Nov 2017 12:41:22 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id vA6KfLi0037627; Mon, 6 Nov 2017 12:41:21 -0800 (PST) (envelope-from sgk) Date: Mon, 6 Nov 2017 12:41:21 -0800 From: Steve Kargl To: Michael Danilov Cc: freebsd-numerics@freebsd.org Subject: Re: cpow and clog Message-ID: <20171106204121.GB37361@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20171106194937.GA87725@freebird> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171106194937.GA87725@freebird> User-Agent: Mutt/1.7.2 (2016-11-26) 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: Mon, 06 Nov 2017 20:41:29 -0000 On Mon, Nov 06, 2017 at 08:49:43PM +0100, Michael Danilov wrote: > Hello, > > I would like to have some feedback on my attempt to import OpenBSD > code for cpow and clog: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221341 > https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187693 > > What happened to the alternative implementation mentioned in the thread below? bde has an implementation of clog[fl]. He may someday commit it. I don't know if anyone ever worked on cpow[fl]. I stopped working on powl and tgammal when I returned my commit bit due to differences with "higher-ranking" committers. > And what had stopped the developers from just reusing the Net-i > or OpenBSD code? How have you tested the NetBSD and/or OpenBSD code? What is the quality? Have the long double clogl and cpowl been tested on both ld80 and ld128 hardware? See FreeBSD's lib/msun/src/math_private.h for a discussion of possible issues of using I from complex.h in this code. > Far as I see, FreeBSD's msun source resembles those other libm's a > lot anyway? Well, of course, the various libm's look alike. They all started life from Sun Microsystems fdlibm code. You can get the last release from Netlib. http://www.netlib.org/fdlibm/index.html -- Steve