]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
math: Fix branch hint for 68d7128942
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 25 Nov 2024 16:37:50 +0000 (13:37 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 25 Nov 2024 16:37:50 +0000 (13:37 -0300)
sysdeps/ieee754/flt-32/e_lgammaf_r.c

index 447376dc552039dc36afa4509e26b159d09cf51d..75ec25fb9e15db7e9a563cc36ea65f7057dadfc6 100644 (file)
@@ -181,7 +181,7 @@ __ieee754_lgammaf_r (float x, int *signgamp)
      Note that for a binary32 |x| >= 2^23, x is necessarily an integer,
      and we already dealed with negative integers, thus now:
      -2^23 < x < +Inf and x is not a negative integer nor 0, 1, 2. */
-  if (__glibc_unlikely (fx >= 0))
+  if (__glibc_likely (fx >= 0))
     *signgamp = 1;
   else
     /* gamma(x) is negative in (-2n-1,-2n), thus when fx is odd.  */