Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262051AbUCQUY5 (ORCPT ); Wed, 17 Mar 2004 15:24:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262052AbUCQUY5 (ORCPT ); Wed, 17 Mar 2004 15:24:57 -0500 Received: from 81-2-122-30.bradfords.org.uk ([81.2.122.30]:897 "EHLO 81-2-122-30.bradfords.org.uk") by vger.kernel.org with ESMTP id S262051AbUCQUYy (ORCPT ); Wed, 17 Mar 2004 15:24:54 -0500 Date: Wed, 17 Mar 2004 20:27:02 GMT From: John Bradford Message-Id: <200403172027.i2HKR2V3000636@81-2-122-30.bradfords.org.uk> To: "Richard B. Johnson" , VINOD GOPAL Cc: John Bradford , linux-kernel@vger.kernel.org In-Reply-To: References: <20040317181537.43286.qmail@web60709.mail.yahoo.com> Subject: Re: arithmetic functions for linux driver Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 806 Lines: 22 Quote from "Richard B. Johnson" : > On Wed, 17 Mar 2004, VINOD GOPAL wrote: > > > The range of input is varying. > > Iam looking for floating point arithmetic functions > > like log10, pow , sin ,exp , cos etc. > > > > Like the range of input from an ADC? You get the data in > the kernel and you muck with it in user-mode after you > have it. If the task in hand is anything much more complicated than getting the input from an 8-bit ADC, and transforming it using a single function such as sin, then yes, do it in userspace. John. - 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/