diff options
Diffstat (limited to 'math/w_remainderf.c')
-rw-r--r-- | math/w_remainderf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/math/w_remainderf.c b/math/w_remainderf.c index b207d84824..c2198f02dd 100644 --- a/math/w_remainderf.c +++ b/math/w_remainderf.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,10 +25,11 @@ float __remainderf (float x, float y) { if (((__builtin_expect (y == 0.0f, 0) && ! isnan (x)) - || (__builtin_expect (__isinf_nsf (x), 0) && ! isnan (y))) + || (__builtin_expect (isinf (x), 0) && ! isnan (y))) && _LIB_VERSION != _IEEE_) return __kernel_standard_f (x, y, 128); /* remainder domain */ return __ieee754_remainderf (x, y); } weak_alias (__remainderf, remainderf) +weak_alias (__remainderf, dremf) |