Re: Advice saught on math functions

From: William Park (opengeometry@yahoo.ca)
Date: Fri Jul 12 2002 - 11:49:31 EST


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, <opengeometry@yahoo.ca>
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/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:23 EST