diff options
Diffstat (limited to 'math/w_remainder.c')
-rw-r--r-- | math/w_remainder.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/math/w_remainder.c b/math/w_remainder.c index 9be4dfd50b..d4bef8cb7e 100644 --- a/math/w_remainder.c +++ b/math/w_remainder.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2011-2015 Free Software Foundation, Inc. +/* Copyright (C) 2011-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gmail.com>, 2011. @@ -25,14 +25,16 @@ double __remainder (double x, double y) { if (((__builtin_expect (y == 0.0, 0) && ! isnan (x)) - || (__builtin_expect (__isinf_ns (x), 0) && ! isnan (y))) + || (__builtin_expect (isinf (x), 0) && ! isnan (y))) && _LIB_VERSION != _IEEE_) return __kernel_standard (x, y, 28); /* remainder domain */ return __ieee754_remainder (x, y); } weak_alias (__remainder, remainder) +weak_alias (__remainder, drem) #ifdef NO_LONG_DOUBLE strong_alias (__remainder, __remainderl) weak_alias (__remainder, remainderl) +weak_alias (__remainder, dreml) #endif |