[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [newbie] Floating point
> On Thu, May 15, 2003 at 03:41:20PM +0300, Florin SIMEN wrote:
> > Can someone tell me if I can do some floating point calculation in a
> > driver in obsd kernel. I have tried a simple divide with two float numbers
> > and the kernel crashes. Can this be solved with -msoft-float parameter ?
> No. Scale them and use integer arithmetic.
There are many reasons to not permit FP in the kernel.