diff options
Diffstat (limited to 'math/w_fmodl.c')
-rw-r--r-- | math/w_fmodl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_fmodl.c b/math/w_fmodl.c index a64af8efab..f6a25d215d 100644 --- a/math/w_fmodl.c +++ b/math/w_fmodl.c @@ -23,7 +23,7 @@ long double __fmodl (long double x, long double y) { - if (__builtin_expect (__isinf_nsl (x) || y == 0.0L, 0) + if (__builtin_expect (isinf (x) || y == 0.0L, 0) && _LIB_VERSION != _IEEE_ && !isnan (y) && !isnan (x)) /* fmod(+-Inf,y) or fmod(x,0) */ return __kernel_standard_l (x, y, 227); |