21 lines
419 B
C
21 lines
419 B
C
|
#include <stdint.h>
|
||
|
|
||
|
#include "private.h"
|
||
|
|
||
|
float
|
||
|
fmodf(float x, float y) /* wrapper fmodf */
|
||
|
{
|
||
|
// #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
|
||
|
}
|