Prototype | Description |
double acos(double x); | Returns the angle (0 to p radians) whose cosine is x . |
double asin(double x); | Returns the angle (-p/2 to p/2 radians) whose sine is x . |
double atan(double x); | Returns the angle (-p/2 to p/2 radians) whose tangent is x . |
double atan2(double y, double x); | Returns the angle (-p to p radians) whose tangent is y / x . |
double cos(double x); | Returns the cosine of x ( x in radians). |
double sin(double x); | Returns the sine of x ( x in radians). |
double tan(double x); | Returns the tangent of x ( x in radians). |
double cosh(double x); | Returns the hyperbolic cosine of x . |
double sinh(double x); | Returns the hyperbolic sine of x . |
double tanh(double x); | Returns the hyperbolic tangent of x . |
double exp(double x); | Returns the exponential function of x (e x ). |
double frexp(double v, int *pt_e); | Breaks a value v into a normalized fraction, which is returned, and a power of 2, which is placed in the location pointed to by pt_e . |
double ldexp(double x, int p); | Returns 2 to the p power times x . |
double log(double x); | Returns the natural logarithm of x . |
double log10(double x); | Returns the base 10 logarithm of x |
double modf(double x, double *p); | Breaks x into an integral part and a fraction part, both of the same sign, returns the fractional part and stores the integral part in the location pointed to by p . |
double pow(double x, double y); | Returns the x to the y power. |
double sqrt(double x); | Returns the square root of x . |
double ceil(double x); | Returns the smallest integral value not less than x . |
double fabs(double x); | Returns the absolute value of x . |
double floor(double x); | Returns the largest integral value not greater than x . |
int fmod(double x, double y); | Returns the fractional part of x / y . |