summary refs log tree commit diff
path: root/sysdeps/libm-ieee754/e_gamma_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754/e_gamma_r.c')
-rw-r--r--sysdeps/libm-ieee754/e_gamma_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/libm-ieee754/e_gamma_r.c b/sysdeps/libm-ieee754/e_gamma_r.c
index eb80809843..901f1451d2 100644
--- a/sysdeps/libm-ieee754/e_gamma_r.c
+++ b/sysdeps/libm-ieee754/e_gamma_r.c
@@ -33,7 +33,7 @@ __ieee754_gamma_r (double x, int *signgamp)
 
   EXTRACT_WORDS (hx, lx, x);
 
-  if ((hx & 0x7fffffff | lx) == 0)
+  if (((hx & 0x7fffffff) | lx) == 0)
     /* Return value for x == 0 is NaN with invalid exception.  */
     return x / x;
   if (hx < 0 && (u_int32_t) hx < 0xfff00000 && __rint (x) == x)