Some Math Library Functions
name description parameter and return value types include file abs absolute value int abs(int n) cstdlib ceil round the value up to the next whole number (ceiling) double ceil(double x) cmath exp e raised to power of x double exp(int x) cmath floor round the value down to the previous whole number (floor) double floor (double x) cmath log natural logarithm double log(double x) cmath pow raise x to the power of y double pow (double x, double y) cmath sqrt square root double sqrt(double x) cmath