From owner-freebsd-current@FreeBSD.ORG Sat Oct 16 01:25:47 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DB4A1065670; Sat, 16 Oct 2010 01:25:47 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 3E64A8FC0A; Sat, 16 Oct 2010 01:25:47 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o9G1Pig6082227; Fri, 15 Oct 2010 18:25:44 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o9G1PiA1082226; Fri, 15 Oct 2010 18:25:44 -0700 (PDT) (envelope-from sgk) Date: Fri, 15 Oct 2010 18:25:44 -0700 From: Steve Kargl To: Diane Bruce Message-ID: <20101016012544.GA82163@troutmask.apl.washington.edu> References: <20101016000605.GA21898@freebsd.org> <20101016005017.GA56570@night.db.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101016005017.GA56570@night.db.net> User-Agent: Mutt/1.4.2.3i Cc: Alexander Best , freebsd-current@freebsd.org Subject: Re: log2(), log2f() and log2l() support in freebsd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2010 01:25:47 -0000 On Fri, Oct 15, 2010 at 08:50:17PM -0400, Diane Bruce wrote: > On Sat, Oct 16, 2010 at 12:06:05AM +0000, Alexander Best wrote: > > hi there, > > > > could we please have support for log2(), log2f() and log2l() in freebsd? > > I have run into a similar problem. I already started with some complex > functions: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=147599&cat= See my comment in the PR. Please, do not integrate the patch from that PR into FreeBSD without testing. Make sure your tests include complex numbers z = x + iy with combinations of x and y involving -inf, +inf, nan, +0, and -0. > Oh.. Ok, I have seen 82654. I believe my diff should take care of that one. > 83845 should be committed or the NetBSD code brought in. (Most current > version of fldigi needs log2.) Well, I wrote the patch in 82654. Having had sufficient interaction with bde and das, I have tried to withdraw the patch. It simply is not a robust patch. -- Steve