]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/s_csinhf.c
Use glibc_likely instead __builtin_expect.
[thirdparty/glibc.git] / math / s_csinhf.c
index 081c7592d6339a5bad94e9b7325e795d14e68edd..d31f705a51493d09d4f0e10ab297e76df3337453 100644 (file)
@@ -33,16 +33,16 @@ __csinhf (__complex__ float x)
 
   __real__ x = fabsf (__real__ x);
 
-  if (__builtin_expect (rcls >= FP_ZERO, 1))
+  if (__glibc_likely (rcls >= FP_ZERO))
     {
       /* Real part is finite.  */
-      if (__builtin_expect (icls >= FP_ZERO, 1))
+      if (__glibc_likely (icls >= FP_ZERO))
        {
          /* Imaginary part is finite.  */
          const int t = (int) ((FLT_MAX_EXP - 1) * M_LN2);
          float sinix, cosix;
 
-         if (__builtin_expect (icls != FP_SUBNORMAL, 1))
+         if (__glibc_likely (icls != FP_SUBNORMAL))
            {
              __sincosf (__imag__ x, &sinix, &cosix);
            }
@@ -122,15 +122,15 @@ __csinhf (__complex__ float x)
            }
        }
     }
-  else if (__builtin_expect (rcls == FP_INFINITE, 1))
+  else if (__glibc_likely (rcls == FP_INFINITE))
     {
       /* Real part is infinite.  */
-      if (__builtin_expect (icls > FP_ZERO, 1))
+      if (__glibc_likely (icls > FP_ZERO))
        {
          /* Imaginary part is finite.  */
          float sinix, cosix;
 
-         if (__builtin_expect (icls != FP_SUBNORMAL, 1))
+         if (__glibc_likely (icls != FP_SUBNORMAL))
            {
              __sincosf (__imag__ x, &sinix, &cosix);
            }