Re: Floating point computations in kernel modules

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ram <vshrirama@...>
Cc: <linux-kernel@...>
Date: Monday, September 17, 2007 - 10:17 am

Hi,

On 9/17/07, Ram <vshrirama@gmail.com> wrote:

in general you shouldn't use floating point in the kernel since there's no
portable way which will work among different architectures.


if you need a solution inkernel best would be to try to get around by converting
your algorithm to integer.

although you might have a look at:
http://www.fi.muni.cz/~xslaby/unpr.html
http://www.mail-archive.com/linuxppc-embedded%40ozlabs.org/msg01291.html

Markus
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Floating point computations in kernel modules, Markus Rechberger, (Mon Sep 17, 10:17 am)
Re: Floating point computations in kernel modules, Trond Myklebust, (Mon Sep 17, 10:13 am)