lkml.org 
[lkml]   [2001]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
"Steven J. Hill" <sjhill@cotw.com> said:
> I checked in the archives and did not see a discussion of this
> anywhere. I have received some Linux kernel code from a project
> that I have inherited and a couple of the drivers are including
> math.h from the C library. This being the header file from
> '/usr/include/math.h' in most cases. There are only two places
> in the kernel that also include this header file. They are:
>
> drivers/atm/iphase.c
> drivers/net/hamradio/soundmodem/gentbl.c
>
> As far as I can tell '/usr/include/math.h' is just full of
> defines and the header files it includes are also a bunch
> of defines with a few macro functions sprinkled in. Can someone
> shed light on if this is bad or not and why it would be done
> or necessary? Thanks.

Floating point in-kernel is a no-no-no. What you see is use in helper
programs that are compiled as part of the kernel build. Check if that is
your case too.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile +56 32 672616
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.048 / U:11.376 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site