Back to index

glibc  2.9
Functions
w_remainder.c File Reference
#include <math.h>
#include "math_private.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double __remainder (double x, double y)

Function Documentation

double __remainder ( double  x,
double  y 
)

Definition at line 27 of file w_remainder.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_remainder(x,y);
#else
       double z;
       z = __ieee754_remainder(x,y);
       if(_LIB_VERSION == _IEEE_ || __isnan(y)) return z;
       if(y==0.0)
           return __kernel_standard(x,y,28); /* remainder(x,0) */
       else
           return z;
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function: