]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/s_catanhl.c
Use glibc_likely instead __builtin_expect.
[thirdparty/glibc.git] / math / s_catanhl.c
index d45f1d19868c5595c7de024a7383aa57d7cd285c..537bb3e28d55a324b9e9b270e25f8cef6fdadf34 100644 (file)
@@ -36,7 +36,7 @@ __catanhl (__complex__ long double x)
   int rcls = fpclassify (__real__ x);
   int icls = fpclassify (__imag__ x);
 
-  if (__builtin_expect (rcls <= FP_INFINITE || icls <= FP_INFINITE, 0))
+  if (__glibc_unlikely (rcls <= FP_INFINITE || icls <= FP_INFINITE))
     {
       if (icls == FP_INFINITE)
        {
@@ -57,7 +57,7 @@ __catanhl (__complex__ long double x)
          __imag__ res = __nanl ("");
        }
     }
-  else if (__builtin_expect (rcls == FP_ZERO && icls == FP_ZERO, 0))
+  else if (__glibc_unlikely (rcls == FP_ZERO && icls == FP_ZERO))
     {
       res = x;
     }