REMAINDER(3) NEWLIB REMAINDER(3)NAME
1.46 `remainder', `remainderf'--round and remainderSYNOPSIS
#include <math.h>
double remainder(double X, double Y);
float remainderf(float X, float Y);
DESCRIPTION
`remainder' and `remainderf' find the remainder of X/Y; this value is
in the range -Y/2 .. +Y/2.
RETURNS
`remainder' returns the integer result as a double.
PORTABILITY
`remainder' is a System V release 4. `remainderf' is an extension.
SEE ALSOremainder is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 REMAINDER(3)