Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2010 20:50:17 -0400
From:      Diane Bruce <db@db.net>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: log2(), log2f() and log2l() support in freebsd
Message-ID:  <20101016005017.GA56570@night.db.net>
In-Reply-To: <20101016000605.GA21898@freebsd.org>
References:  <20101016000605.GA21898@freebsd.org>

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

And am willing to do the work to import those log2 functions. I have
already looked at the work involved. 

I note one reply to the PR suggesting the Apple versions might be better,
but I am not sure if their licence would be compatible with FreeBSD or not.

> 
> mplayer (svn) won't build without them. netbsd has support and there are two
> open pr related to this matter (including patches):

Ah ha! So the log2 work has been done already. You should have attached
the PR numbers!

> 
> 82654
> 83845

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.)

- Diane
-- 
- db@FreeBSD.org db@db.net http://www.db.net/~db



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