about summary refs log tree commit diff
path: root/math/w_atan2f.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_atan2f.c')
-rw-r--r--math/w_atan2f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_atan2f.c b/math/w_atan2f.c
index c83088dfb9..eb7d968377 100644
--- a/math/w_atan2f.c
+++ b/math/w_atan2f.c
@@ -34,7 +34,7 @@ __atan2f (float y, float x)
     return __kernel_standard_f (y, x, 103); /* atan2(+-0,+-0) */
 
   z = __ieee754_atan2f (y, x);
-  if (__glibc_unlikely (z == 0.0f && y != 0.0f && __finitef (x)))
+  if (__glibc_unlikely (z == 0.0f && y != 0.0f && isfinite (x)))
     __set_errno (ERANGE);
   return z;
 }