Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 12 Jul 2002 12:46:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 12 Jul 2002 12:46:52 -0400 Received: from smtp.eol.ca ([205.189.152.19]:35288 "HELO smtp.eol.ca") by vger.kernel.org with SMTP id ; Fri, 12 Jul 2002 12:46:47 -0400 Date: Fri, 12 Jul 2002 12:49:31 -0400 From: William Park To: linux-kernel@vger.kernel.org Subject: Re: Advice saught on math functions Message-ID: <20020712164931.GA1830@node1.opengeometry.net> Mail-Followup-To: linux-kernel@vger.kernel.org References: <20020712162229.GC2348@werewolf.able.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020712162229.GC2348@werewolf.able.es> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 870 Lines: 21 On Fri, Jul 12, 2002 at 06:22:29PM +0200, J.A. Magallon wrote: > > On 2002.07.12 Alan Cox wrote: > >> Are these functions which are supplied by the FPU? I've looked > >> through the fpu emulation headers and exp() is the only one I can find > > > >You can't use FPU operations in the x86 kernel. > > Are you to worried about precission ? Can't you just do your sin() etc. > in fixed point ? (and move all your fpdata to fixed point, of course) Or, you can use polynomial approximations. -- William Park, Open Geometry Consulting, 8-CPU Cluster, Hosting, NAS, Linux, LaTeX, python, vim, mutt, tin - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/