# math.h

## floor function

Floor function returns the greatest integer not greater than x. For example, if the input is 2.25 then the output will be 2.00.

Declaration: double floor(double x);

## cos in C - math.h

Cos function returns cosine of an angle(in radian).
1 radian = 57.2958(approximately).

Declaration: double cos(double);

## ceil in C - math.h

Ceil function is used to round up a number i.e. it returns the smallest number which is greater than argument passed to it.

Declaration: double ceil(double);

## log10

log10 function returns common logarithm (base is 10) of a number.

Declaration: double log10(double number);

## sqrt function

sqrt function returns square root of a number.

Declaration: double sqrt(double);

## log function

log function returns natural logarithm (base is e) of a number, where e is the exponential number.

Declaration: double log(double);

## pow function

pow function returns x raise to the power y where x and y are variables of double data type.

Declaration: double pow(double, double);

## abs c - math.h

abs isn't a function but is a macro and is used for calculating absolute value of a number.