Re: Advice saught on math functions

J.A. Magallon (jamagallon@able.es)
Fri, 12 Jul 2002 18:22:29 +0200


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/