1234567891011121314151617181920212223242526272829303132333435 |
- #include <math.h>
- #include "math_private.h"
- double
- remainder (double x, double y)
- {
- #if defined(__UCLIBC_HAS_FENV__)
- if (((__builtin_expect (y == 0.0, 0) && ! isnan (x))
- || (__builtin_expect (isinf (x), 0) && ! isnan (y)))
- && _LIB_VERSION != _IEEE_)
- return __kernel_standard (x, y, 28);
- #endif
- return __ieee754_remainder (x, y);
- }
- strong_alias(remainder, drem)
- libm_hidden_def(remainder)
|