summaryrefslogtreecommitdiff
path: root/math/w_fmodf.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_fmodf.c')
-rw-r--r--math/w_fmodf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_fmodf.c b/math/w_fmodf.c
index 21a148b72b..ba9b8470f9 100644
--- a/math/w_fmodf.c
+++ b/math/w_fmodf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
@@ -24,7 +24,7 @@ float
__fmodf (float x, float y)
{
if (__builtin_expect (__isinf_nsf (x) || y == 0.0f, 0)
- && _LIB_VERSION != _IEEE_ && !__isnanf (y) && !__isnanf (x))
+ && _LIB_VERSION != _IEEE_ && !isnan (y) && !isnan (x))
/* fmod(+-Inf,y) or fmod(x,0) */
return __kernel_standard_f (x, y, 127);