[OCLUG-devel] math functions in C

Thomas Moore thomasmoore at speakeasy.net
Wed Nov 10 19:12:02 PST 2004


Thanks, that worked great. But, I was unable
dig that fact up from the docs. Where is it
hidden?

Tom

Bao C. Ha wrote:

>gcc -o prog prog.c -lm
>
>You need "-lm" to link to the math library.
>
>Bao
>
>





More information about the OCLUG-devel mailing list