Usage of frexp():
double frexp(double x, int *exponent);
Parameters:
The floating-point number x is broken up into a mantissa and exponent.The returned value is the mantissa and the integer pointed to by exponent is the exponent. The resultant value is x=mantissa * 2^exponent.
Return value:
The mantissa is in the range of .5 (inclusive) to 1 (exclusive)
Source code example of frexp():
More »
Posted in C Reference math.h Functions |
Usage of exp():
double exp(double x);
Parameters:
There is no range limit on the argument.
Return value:
There is no range limit on the return value.
Source code example of exp():
More »
Posted in C Reference math.h Functions |
Usage of tan():
double tan(double x);
Parameters:
There is no range limit on the argument.
Return value:
There is no range limit on the return value.
Source code example of tan():
More »
Posted in C Reference math.h Functions |
Usage of tanh():
double tanh(double x);
Parameters:
The value of x has no range.
Return value:
The returned value is in the range of -1 to +1 (inclusive.)
Source code example of tanh():
More »
Posted in C Reference math.h Functions |
Usage of sin():
double sin(double x);
Parameters:
The value of x has no range.
Return value:
The returned value is in the range of -1 to +1 (inclusive).
Source code example of sin():
More »
Posted in C Reference math.h Functions |
Usage of sinh():
double sinh(double x);
Parameters:
There is no range limit on the argument.
Return value:
There is no range limit on the return value.
Source code example of sinh():
More »
Posted in C Reference math.h Functions |
Usage of cosh():
double cosh(double x);
Parameters:
There is no range limit on the argument.
Return value:
There is no range limit return value. More »
Posted in C Reference math.h Functions |
Usage of cos():
double cos(double x);
Parameters:
The value of x has no range.
Return value:
The returned value is in the range of -1 to +1 (inclusive).
Source code example of cos():
More »
Posted in C Reference math.h Functions |
Usage of atan2():
double atan2(double y, double x);
Parameters:
Both y and x cannot be zero.
Return value:
Arc tangent in radians of y/x based on the signs of both values
to determine the correct quadrant. The returned value is in the range of -p/2 to +p/2 (inclusive).
Source code example of atan2():
More »
Posted in C Reference math.h Functions |
Usage of atan():
double atan(double x);
Parameters:
The value of x has no range.
Return value:
The returned value is in the range of -p/2 to +p/2 (inclusive).
Source code example of atan():
More »
Posted in C Reference math.h Functions |