Back to index

glibc  2.9
Functions
w_fmodf.c File Reference
#include <math.h>
#include "math_private.h"

Go to the source code of this file.

Functions

float __fmodf (float x, float y)

Function Documentation

float __fmodf ( float  x,
float  y 
)

Definition at line 31 of file w_fmodf.c.

{
#ifdef _IEEE_LIBM
       return __ieee754_fmodf(x,y);
#else
       float z;
       z = __ieee754_fmodf(x,y);
       if(_LIB_VERSION == _IEEE_ ||__isnanf(y)||__isnanf(x)) return z;
       if(y==(float)0.0) {
              /* fmodf(x,0) */
               return (float)__kernel_standard((double)x,(double)y,127);
       } else
           return z;
#endif
}

Here is the call graph for this function: