REMAINDER(3)

NAME
1.46 `remainder', `remainderf'--round and remainder

SYNOPSIS
     #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 ALSO
remainder is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.