Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261899AbUCQSP7 (ORCPT ); Wed, 17 Mar 2004 13:15:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261900AbUCQSP7 (ORCPT ); Wed, 17 Mar 2004 13:15:59 -0500 Received: from web60709.mail.yahoo.com ([216.109.117.232]:64701 "HELO web60709.mail.yahoo.com") by vger.kernel.org with SMTP id S261899AbUCQSPh (ORCPT ); Wed, 17 Mar 2004 13:15:37 -0500 Message-ID: <20040317181537.43286.qmail@web60709.mail.yahoo.com> Date: Wed, 17 Mar 2004 10:15:37 -0800 (PST) From: VINOD GOPAL Subject: Re: arithmetic functions for linux driver To: John Bradford , linux-kernel@vger.kernel.org In-Reply-To: <200403171811.i2HIBA7o000386@81-2-122-30.bradfords.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1069 Lines: 36 The range of input is varying. Iam looking for floating point arithmetic functions like log10, pow , sin ,exp , cos etc. -vg --- John Bradford wrote: > > I need to use the arithmetic functions like sin, > cos, > > exp, log, etc in linux device driver. > > > > On search read , not to use libm from kernel > driver > > as it will harm the fpu registers. > > > > Do you have any insight how to support these > > functions in linux driver or any code that is > > available which I can make use of? > > What exactly are you trying to do? Why not simply > create a look up > table for the functions you need, if the expected > range of input > values is small? > > John. __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - 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/