delorie.com/djgpp/doc/libc/libc_332.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <math.h> double fmod(double x, double y); |
This function computes the remainder of x/y
, which is
x - iy for some integer i such that
iy < x < (i+1)y.
The remainder of x/y. If x is Inf
or
NaN
, the return value is NaN
and errno
is set to
EDOM
. If y is zero, the return value is zero (but
errno
is not changed).
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |