diff options
Diffstat (limited to 'math/w_fmod.c')
-rw-r--r-- | math/w_fmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_fmod.c b/math/w_fmod.c index 0ee5ee411c..90f24658e2 100644 --- a/math/w_fmod.c +++ b/math/w_fmod.c @@ -23,7 +23,7 @@ double __fmod (double x, double y) { - if (__builtin_expect (__isinf_ns (x) || y == 0.0, 0) + if (__builtin_expect (isinf (x) || y == 0.0, 0) && _LIB_VERSION != _IEEE_ && !isnan (y) && !isnan (x)) /* fmod(+-Inf,y) or fmod(x,0) */ return __kernel_standard (x, y, 27); |