Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2010 18:25:44 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Diane Bruce <db@db.net>
Cc:        Alexander Best <arundel@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: log2(), log2f() and log2l() support in freebsd
Message-ID:  <20101016012544.GA82163@troutmask.apl.washington.edu>
In-Reply-To: <20101016005017.GA56570@night.db.net>
References:  <20101016000605.GA21898@freebsd.org> <20101016005017.GA56570@night.db.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101016012544.GA82163>