It is in # include <math.h> Be sure to use the 'cc -lm' command when you compile. Hope that helps. Dinendra