0
359views
Explain the math function in detail
1 Answer
0
0views

Some of the math functions are:

1) Double ceil (double x) : The C library function double ceil (double x) returns the smallest integer value greater than or equal to x.

2) Double floor (double x) : The C library function double floor (double x) returns the largest integer value less than or equal to x.

3) Double log (double x) : The C library function double log (double x) returns the natural logarithm of x.

4) Double fabs (double x) : The C library function double fabs (double x) returns the absolute value of x.

5) Double log10 (double x) : The C library function double log10 (double x) returns the common logarithm (base 10 logarithm) of x.

6) Double sqrt (double x) : The C library function double sqrt (double x) returns the square root of x.

7) Double pow (double x, double y) : The C library function double pow (double x, double y) returns x raised to the power of y.

8) Double exp (double x) : The C library function double pow (double x) returns the value of eraised to the xth power.

Please log in to add an answer.