|
||
double fmod( double x, double y )
double x; /* a double value */ double y; /* a double value */
|
|
|
Synopsis |
#include "math.h"
The fmod function calculates the floating point remainder r of x / y , where r has the same sign as x , and |r|<|y|. That is, for some integer i, x = i * y + r.
|
|
Parameters |
x and y are doubles, y may not be 0.
|
|
Return Value |
fmod returns r . If x/y cannot be represented, the result is undefined.
|
|
See Also |
|
|
|
|