From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 01:31:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F8F2106566B for ; Wed, 24 Nov 2010 01:31:02 +0000 (UTC) (envelope-from tobiash@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 380C28FC08 for ; Wed, 24 Nov 2010 01:31:01 +0000 (UTC) Received: by ywp6 with SMTP id 6so826265ywp.13 for ; Tue, 23 Nov 2010 17:31:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=E6WFpDTcNLz5Q4BboKej+dKgG9hcT8viVfsdK4FxKWk=; b=AeHCB2Vr2hOie7xuFYee0ByVlgEGNakZ6t83Awpc63KcaQfY/BZIbj8xkSq9R5XwrX YcsMmyNUKZHVYOOgyl7Cacba0eL+rXgyarKkKUFyTQEY/7j3J6ywHSakyEYynqU3v9Ch SavvyykJvEuXpyRFlGix/xz2jPLcunobFO/yI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Z9Pxb24z1dU1JnWb8jNrbHReIqwVMVo6tsdUzgqA/L8gmtMNQK6qwSRa6bVjx6GT9p WRDYAUE3VA8FAHqi/GXRmPCxLeT8oJ7OM3qvOLOWi5QdUXccuPZfKQ9pszfUI7PLlW6j kY9PJY5ZLGWXM1CD92U2zLXM75dxHv3AFFvXE= MIME-Version: 1.0 Received: by 10.100.125.18 with SMTP id x18mr5587743anc.231.1290562260366; Tue, 23 Nov 2010 17:31:00 -0800 (PST) Received: by 10.100.201.9 with HTTP; Tue, 23 Nov 2010 17:31:00 -0800 (PST) In-Reply-To: <20101123231517.GA5056@freebsd.org> References: <20101123210013.GA71784@freebsd.org> <20101123231517.GA5056@freebsd.org> Date: Tue, 23 Nov 2010 18:31:00 -0700 Message-ID: From: Tobias To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Subject: Re: libm alternative in ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 01:31:02 -0000 On Tue, Nov 23, 2010 at 4:15 PM, Alexander Best wrote: > On Tue Nov 23 10, Chris Brennan wrote: > > On Tue, Nov 23, 2010 at 4:00 PM, Alexander Best > wrote: > > > > > hi there, > > > > > > does anybody if there's an alternative for libm in the ports dir? i > need > > > it, > > > because the newest snapshots of mplayer require log2() and log2f(), > which > > > the > > > base libm doesn't support. > > > > > > cheers. > > > alex > Can't you just calculate it yourself? log2(n) = log10(n)/log10(2)? http://logbase2.blogspot.com/2007/12/log-base-2.html --Tobias