Re: arithmetic functions for linux driver
From: VINOD GOPAL
Date: Wed Mar 17 2004 - 13:18:49 EST
The range of input is varying.
Iam looking for floating point arithmetic functions
like log10, pow , sin ,exp , cos etc.
-vg
--- John Bradford <john@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/