Added "#include <math.h>".