123456789101112131415161718192021222324252627282930313233 |
- #include <math.h>
- #include "math_private.h"
- float
- fmodf (float x, float y)
- {
- #if defined(__UCLIBC_HAS_FENV__)
- if (__builtin_expect (isinf (x) || y == 0.0f, 0)
- && _LIB_VERSION != _IEEE_ && !isnan (y) && !isnan (x))
-
- return __kernel_standard_f (x, y, 127);
- #endif
- return (float) __ieee754_fmod ((double) x,(double) y);
- }
|