Back to index

lightning-sunbird  0.9+nobinonly
w_fmod.c File Reference
#include "fdlibm.h"

Go to the source code of this file.


double fd_fmod (double x, double y)

Function Documentation

double fd_fmod ( double  x,
double  y 

Definition at line 62 of file w_fmod.c.

#ifdef _IEEE_LIBM
       return __ieee754_fmod(x,y);
       double z;
       z = __ieee754_fmod(x,y);
       if(_LIB_VERSION == _IEEE_ ||fd_isnan(y)||fd_isnan(x)) return z;
       if(y==0.0) {
        int err;
        return __kernel_standard(x,y,27,&err); /* fmod(x,0) */
       } else
           return z;

Here is the call graph for this function: