aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-11-25 13:37:50 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-11-25 13:37:50 -0300
commit6976cd3124c0bb7ef55b6eb23ac0cb12ac514138 (patch)
tree2fdfdfe66accf1e0997bdbccad634eb5256d022c
parent2062e02772128db6b90bf0078c5041c66c4a951e (diff)
downloadglibc-6976cd3124c0bb7ef55b6eb23ac0cb12ac514138.zip
glibc-6976cd3124c0bb7ef55b6eb23ac0cb12ac514138.tar.gz
glibc-6976cd3124c0bb7ef55b6eb23ac0cb12ac514138.tar.bz2
math: Fix branch hint for 68d7128942
-rw-r--r--sysdeps/ieee754/flt-32/e_lgammaf_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/flt-32/e_lgammaf_r.c b/sysdeps/ieee754/flt-32/e_lgammaf_r.c
index 447376d..75ec25f 100644
--- a/sysdeps/ieee754/flt-32/e_lgammaf_r.c
+++ b/sysdeps/ieee754/flt-32/e_lgammaf_r.c
@@ -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. */