about summary refs log tree commit diff
path: root/math/w_exp10.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_exp10.c')
-rw-r--r--math/w_exp10.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/w_exp10.c b/math/w_exp10.c
index 66eec80fe1..c994a23af0 100644
--- a/math/w_exp10.c
+++ b/math/w_exp10.c
@@ -28,10 +28,10 @@ double
 __exp10 (double x)
 {
   double z = __ieee754_exp10 (x);
-  if (__builtin_expect (!__finite (z) || z == 0, 0)
-      && __finite (x) && _LIB_VERSION != _IEEE_)
+  if (__builtin_expect (!isfinite (z) || z == 0, 0)
+      && isfinite (x) && _LIB_VERSION != _IEEE_)
     /* exp10 overflow (46) if x > 0, underflow (47) if x < 0.  */
-    return __kernel_standard (x, x, 46 + !!__signbit (x));
+    return __kernel_standard (x, x, 46 + !!signbit (x));
 
   return z;
 }