Ed Hill wrote: > > > >Yes, whenever using functions declared in "<math.h>" you should also use >"-lm" at the end to link against the math library such as: > > cc -o simple simple.c -lm > >If you don't, then the linker ("ld") will complain about unresolved >symbols. > >Ed > > Is this a holder over from the days of math co-processors? Thanks, Steve