OAR

RTEMS GNU Tools On-Line Library


remainder

PREV UP NEXT Bookshelf

1.24: 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.



PREV UP NEXT Bookshelf

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.