- From: Jan Gukelberger <g.u.g.i_at_gmx.de>
- Date: Wed, 10 Aug 2005 11:59:09 +0200
On Tue, 2005-08-09 at 19:59 -0300, Pecenin wrote: > How can i calculate sin, cos, exp, in kernel space? The simple answer probably is: You can't. AFAIK within kernel space you're not even allowed to use floating point arithmetic. (I've seen a switch in RTAI that enables floating point ops for RT threads but don't know more about this.) So if you really need to do this in kernel space you probably have to provide your own fixed point implementation of those functions. However, I'd first recommend you to search the net as you're surely not the first wanting to do something like this. HTH, Jan
Received on 2005-08-10Z08:59:09