If it needs a float you should rework the algorithm so that it can use a fixed-point number instead.
Tom
Mauricio Lin wrote:
Hi all,
Does anyone know how to handle floating point variables in Kernel code?
I would like to code a function that needs float numbers.
BR,
Mauricio Lin.
=====
************************************************
Conhecimento vem do seu instrutor; Sabedoria vem do seu interior. (Bruce Lee) ************************************************
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/