Re: How to use floating point in a module?

From: Manfred Spraul
Date: Mon May 31 2004 - 15:39:57 EST


Horst von Brand wrote:

Trascendental functions are _not_ computed by series in practice, rational
approximations (polinomial / polinomial) are used instead. Or interpolate
in a smallish table.

Is that really faster on modern cpus? The multiplier is fully pipelined and a division takes 25-40 cycles.

--
Manfred

-
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/