diff options
Diffstat (limited to 'math/w_fmodf.c')
-rw-r--r-- | math/w_fmodf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_fmodf.c b/math/w_fmodf.c index ba9b8470f9..3259963498 100644 --- a/math/w_fmodf.c +++ b/math/w_fmodf.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. @@ -23,7 +23,7 @@ float __fmodf (float x, float y) { - if (__builtin_expect (__isinf_nsf (x) || y == 0.0f, 0) + if (__builtin_expect (isinf (x) || y == 0.0f, 0) && _LIB_VERSION != _IEEE_ && !isnan (y) && !isnan (x)) /* fmod(+-Inf,y) or fmod(x,0) */ return __kernel_standard_f (x, y, 127); |