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 ba9b8470f9..7dcb2fe373 100644
--- a/math/w_fmodf.c
+++ b/math/w_fmodf.c
@@ -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);