lkml.org 
[lkml]   [2002]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Advice saught on math functions
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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.114 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site