Usage of floor():
double floor(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 floor():
More »
Posted in C Reference math.h Functions |
Usage of fabs():
double fabs(double x);
Parameters:
There is no range limit on the argument.
Return value:
There is no range limit on the return value.
A negative value becomes positive, positive value is unchanged. The return value is always positive.
Source code example of fabs():
More »
Posted in C Reference math.h Functions |
Usage of fmod():
double fmod(double x, double y);
Return value:
There is no range limit on the return value. If y is zero,
then either a range error will occur or the function will return zero (this can differ per implementation.)
Source code example of fmod():
More »
Posted in C Reference math.h Functions |
Usage of ceil():
double ceil(double x);
Parameters:
There is no range limit on the argument.
Return value:
There is no range limit on the return value. More »
Posted in C Reference math.h Functions |
Usage of sqrt():
double sqrt(double x);
Parameters:
The argument cannot be negative.
Return value:
The returned value is always positive.
Source code example of sqrt():
More »
Posted in C Reference math.h Functions |
Usage of pow():
double pow(double x, double y);
Parameters:
x cannot be negative if y is a fractional value. x cannot be zero if y is less than or equal to zero.
Source code example of pow():
More »
Posted in C Reference math.h Functions |
Usage of modf():
double modf(double x, double *integer);
Parameters:
There is no range limit on the argument.
Return value:
The returned value is the fraction component (that is the part after the decimal),
and sets integer to the integer component. There is no range limit on the return value.
Source code example of modf():
More »
Posted in C Reference math.h Functions |
Usage of log():
double log(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 log():
More »
Posted in C Reference math.h Functions |
Usage of log10():
double log10(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 log10():
More »
Posted in C Reference math.h Functions |
Usage of ldexp():
double ldexp(double x, int exponent);
Parameters:
There is no range limit on the argument.
Return value:
There is no range limit on the return value.
Source code example of ldexp():
More »
Posted in C Reference math.h Functions |