about summary refs log tree commit diff
path: root/math/w_atan2.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_atan2.c')
-rw-r--r--math/w_atan2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_atan2.c b/math/w_atan2.c
index 0cb69ac891..ea60ffcca4 100644
--- a/math/w_atan2.c
+++ b/math/w_atan2.c
@@ -34,7 +34,7 @@ __atan2 (double y, double x)
     return __kernel_standard (y, x, 3); /* atan2(+-0,+-0) */
 
   z = __ieee754_atan2 (y, x);
-  if (__glibc_unlikely (z == 0.0 && y != 0.0 && __finite (x)))
+  if (__glibc_unlikely (z == 0.0 && y != 0.0 && isfinite (x)))
     __set_errno (ERANGE);
   return z;
 }