On 8/29/07, Mathieu JOINIE-MAURIN <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I need to use a sqrt() function in a kernel module code. I am a beginner
> with Xenomai. Is there any math_module which already exists ?
>
> Thanks in advance,
There is no math module, if you really want to, you can port the
libmath from a c library such as the glibc or uclibc, or newlib and
make it a kernel module. If you do so, we willl be pleased to add this
module to Xenomai.
Now, regarding the sqrt function, if what you want is the integer
square root of an integer argument, you can use the int_sqrt function,
declared in linux/kernel.h.
--
Gilles Chanteperdrix
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help