From owner-freebsd-numerics@FreeBSD.ORG Sat Sep 22 05:41:25 2012 Return-Path: Delivered-To: freebsd-numerics@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76156106566C for ; Sat, 22 Sep 2012 05:41:25 +0000 (UTC) (envelope-from stephen@missouri.edu) Received: from wilberforce.math.missouri.edu (wilberforce.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 2FF768FC08 for ; Sat, 22 Sep 2012 05:41:24 +0000 (UTC) Received: from [127.0.0.1] (wilberforce.math.missouri.edu [128.206.184.213]) by wilberforce.math.missouri.edu (8.14.5/8.14.5) with ESMTP id q8M5fOnK060485 for ; Sat, 22 Sep 2012 00:41:24 -0500 (CDT) (envelope-from stephen@missouri.edu) Message-ID: <505D4F84.90005@missouri.edu> Date: Sat, 22 Sep 2012 00:41:24 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-numerics@freebsd.org References: <5017111E.6060003@missouri.edu> <20120916041132.D6344@besplex.bde.org> <50553424.2080902@missouri.edu> <20120916134730.Y957@besplex.bde.org> <5055ECA8.2080008@missouri.edu> <20120917022614.R2943@besplex.bde.org> <50562213.9020400@missouri.edu> <20120917060116.G3825@besplex.bde.org> <50563C57.60806@missouri.edu> <20120918012459.V5094@besplex.bde.org> <5057A932.3000603@missouri.edu> <5057F24B.7020605@missouri.edu> <20120918162105.U991@besplex.bde.org> <20120918232850.N2144@besplex.bde.org> <20120919010613.T2493@besplex.bde.org> <505BD9B4.8020801@missouri.edu> <20120921172402.W945@besplex.bde.org> <20120921212525.W1732@besplex.bde.org> <505C7490.90600@missouri.edu> <20120922042112.E3044@besplex.bde.org> <505CBF14.70908@missouri.edu> <505CC11A.5030502@missouri.edu> <20120922081607.F3613@besplex.bde.org> <20120922091625.Y3828@besplex.b! de.org> <505D1037.8010202@missouri.edu> <20120922142349.X4599@besplex.bde.org> <505D4BFA.5050401@missouri.edu> In-Reply-To: <505D4BFA.5050401@missouri.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Complex arg-trig functions X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 22 Sep 2012 05:41:25 -0000 On 09/22/2012 12:26 AM, Stephen Montgomery-Smith wrote: > On 09/21/2012 11:28 PM, Bruce Evans wrote: >> On Fri, 21 Sep 2012, Stephen Montgomery-Smith wrote: >> >>> On 09/21/2012 06:18 PM, Bruce Evans wrote: >>>> On Sat, 22 Sep 2012, Bruce Evans wrote: >>>> >>>>> ... >>>>> Patches tomorrow. Well, the main new one now, for all 3 files since >>>>> part of it has lots of magic numbers which are not handled by the >>>>> conversion scripts. >>>>> ... >>>>> The patch is also attached. >>>> >>>> The attachment was larger than intended. It had my complete patch set >>>> for catrig*.c. >>> >>> Will there be another complete patch set tomorrow, or did you just >>> send it today? >> >> I sent it all and won't change much more for a while. I might >> describe it >> more tomorrow. > > The only change I made was to change atanh to atanhl in catrigl.c, > seeing that I had written one for myself. I am finding some errors with catrigl.c in real_part_reciprocal. I don't know how SET_LDBL_EXPSIGN is meant to work. But I needed to add the extra statement: + scale = 1; SET_LDBL_EXPSIGN(scale, 0x7fff - ix);