On x86 kernel is not allow using FPU or floating point. You can utilise floating point emulation. Here you can find some example http://www.linuxsmiths.com/blog/?p=253
Ciao Fede On 09/26/10 00:41, Jon Elson wrote: > I'm trying to correct a bug in the hal_ppmc.c driver. There is a place > where abs was used by mistake. I have tried fabs and fabsf, and tried > to include math.h, none of these worked. Is there an available > floating-point > absolute value function that can be used in the real-time environment? > > If not, I can always do it with an if/then/else bit of code, but that is not > as clear. Looking over other code, it seems that the if/then is how > everybody > else does it. > > Thanks, > > Jon > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
