math.h doesn't include pow?

Peter Seebach seebs at plethora.net
Mon Nov 8 11:22:27 PST 2004


In message <p05200f16bdb5764065c9@[192.168.0.5]>, Vince Sabio writes:
>I thought it must have been, so I searched my list archives -- which, 
>admittedly, go back only to January of this year -- but didn't find 
>anything on this problem. If there's a formal FreeBSD FAQ, I'd be 
>happy to be clue-batted with it FFR.

comp.lang.c.  :)

>>Headers and libraries are distinct.  Headers provide prototypes; libraries
>>provide definitions.

>Yes, my bad; sorry about that:

>% sed 's/libraries/headers/'

Well, that's the thing; you included the header, but not the library.  Thus
the confusion.

-s


More information about the freebsd-questions mailing list