[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arm-kernel
Subject: Re: Floating point in Kernel
From: Russ Dill <Russ.Dill () asu ! edu>
Date: 2004-07-30 5:26:05
Message-ID: 1091165165.5289.0.camel () localhost
[Download RAW message or body]
On Thu, 2004-07-29 at 14:22, Nicolas Pitre wrote:
>
> Nicolas
>
> On Thu, 29 Jul 2004, Mauricio Lin wrote:
>
> > Hi All,
> >
> > I would like to know if there is any possibility to
> > use floating point numbers and operations in kernel
> > code compiled for arm arch?
>
> The official answer is "no".
>
> If you really know what you're doing then the answer is "possibly", but then
> you wouldn't ask questions about it. And no, I won't tell you how.
>
> In other words, don't use floats in kernel code. You shouldn't have to.
> Use fixed point math instead.
definately the right solution, you can do *anything* in fixed point
(Nicolas should know...his softfloat library is essentially written in
fixed point). For a good example, look up "cordic rotation"
--
Russ Dill <Russ.Dill@asu.edu>
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ: http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic