summaryrefslogtreecommitdiff
path: root/math/w_fmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_fmod.c')
-rw-r--r--math/w_fmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_fmod.c b/math/w_fmod.c
index 0ee5ee411c..7824f3d3ec 100644
--- a/math/w_fmod.c
+++ b/math/w_fmod.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 @@
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);