From owner-freebsd-numerics@freebsd.org Tue Mar 14 18:10:27 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 98017D0C420 for ; Tue, 14 Mar 2017 18:10:27 +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 7A8408EA for ; Tue, 14 Mar 2017 18:10:27 +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 v2EIAKTb084361 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Mar 2017 11:10:20 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id v2EIAKYM084360; Tue, 14 Mar 2017 11:10:20 -0700 (PDT) (envelope-from sgk) Date: Tue, 14 Mar 2017 11:10:20 -0700 From: Steve Kargl To: Peter Jeremy Cc: freebsd-numerics@freebsd.org Subject: Re: Bit twiddling question Message-ID: <20170314181020.GA83801@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20170308202417.GA23103@troutmask.apl.washington.edu> <20170309173152.F1269@besplex.bde.org> <20170309075236.GA30199@troutmask.apl.washington.edu> <20170309152307.GA32781@troutmask.apl.washington.edu> <20170310025417.U3723@besplex.bde.org> <20170309195134.GA36213@troutmask.apl.washington.edu> <20170310165638.D1143@besplex.bde.org> <20170310072136.GA43725@troutmask.apl.washington.edu> <20170313051652.GA73001@server.rulingia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170313051652.GA73001@server.rulingia.com> 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: Tue, 14 Mar 2017 18:10:27 -0000 On Mon, Mar 13, 2017 at 04:16:52PM +1100, Peter Jeremy wrote: > On 2017-Mar-09 23:21:36 -0800, Steve Kargl wrote: > >I have a partially written powl in my tree. I'll probably finish > >it someday. > > Likewise. Does anyone have any suggestions for test vectors? > I never got to the interest part of powl, so haven't thought to much about a general test vector. My partial implmentation has 19 special cases (ie, x or y = +-inf, 0,1) working, but I stopped working it for x and y finite. -- Steve 20161221 https://www.youtube.com/watch?v=IbCHE-hONow