fmod

Computes the floating-point remainder of the first argument divided by the second. If the second argument is 0, the function returns 0.

Format

#include  <math.h>

double fmod  (double x, double y);

Arguments

x
A real value.
y
A real value.

Return Values
Indicates that y is 0. 
The value f, which has the same sign as the argument x, such that x == i * y + f for some integer i, where the magnitude of f is less than the magnitude of y


Previous Page | Next Page | Table of Contents | Index