Re: Advice saught on math functions

From: J.A. Magallon (jamagallon@able.es)
Date: Fri Jul 12 2002 - 11:22:29 EST


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 perhaps you could use some kind of DCT ?

-- 
J.A. Magallon             \   Software is like sex: It's better when it's free
mailto:jamagallon@able.es  \                    -- Linus Torvalds, FSF T-shirt
Linux werewolf 2.4.19-rc1-jam3, Mandrake Linux 8.3 (Cooker) for i586
gcc (GCC) 3.1.1 (Mandrake Linux 8.3 3.1.1-0.7mdk)
-
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