1234567891011121314151617181920212223242526272829303132333435 |
- #include <math.h>
- #include "math_private.h"
- #if !defined __NO_LONG_DOUBLE_MATH
- long double
- fmodl (long double x, long double y)
- {
- # if defined(__UCLIBC_HAS_FENV__)
- if (__builtin_expect (isinf (x) || y == 0.0L, 0)
- && _LIB_VERSION != _IEEE_ && !isnan (y) && !isnan (x))
-
- return __kernel_standard_l (x, y, 227);
- # endif
- return (long double) __ieee754_fmod ((double) x,(double) y);
- }
- #endif
|