Re: arithmetic functions for linux driver
From: John Bradford
Date: Wed Mar 17 2004 - 13:10:16 EST
> 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.
-
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/