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 > >