about summary refs log tree commit diff
path: root/math/w_fmodf.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_fmodf.c')
-rw-r--r--math/w_fmodf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_fmodf.c b/math/w_fmodf.c
index de1109d561..ba9b8470f9 100644
--- a/math/w_fmodf.c
+++ b/math/w_fmodf.c
@@ -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);