diff options
Diffstat (limited to 'sysdeps/ieee754/flt-32')
-rw-r--r-- | sysdeps/ieee754/flt-32/e_j0f.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/flt-32/s_roundf.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/ieee754/flt-32/e_j0f.c b/sysdeps/ieee754/flt-32/e_j0f.c index 181c2e46d4..0cc52c94c4 100644 --- a/sysdeps/ieee754/flt-32/e_j0f.c +++ b/sysdeps/ieee754/flt-32/e_j0f.c @@ -66,7 +66,7 @@ __ieee754_j0f(float x) return z; } if(ix<0x39000000) { /* |x| < 2**-13 */ - math_force_eval(huge+x>one); /* raise inexact if x != 0 */ + math_force_eval(huge+x); /* raise inexact if x != 0 */ if(ix<0x32000000) return one; /* |x|<2**-27 */ else return one - (float)0.25*x*x; } diff --git a/sysdeps/ieee754/flt-32/s_roundf.c b/sysdeps/ieee754/flt-32/s_roundf.c index 09b38cdc2a..f4f9dd61d3 100644 --- a/sysdeps/ieee754/flt-32/s_roundf.c +++ b/sysdeps/ieee754/flt-32/s_roundf.c @@ -37,7 +37,7 @@ __roundf (float x) { if (j0 < 0) { - math_force_eval (huge + x > 0.0F); + math_force_eval (huge + x); i0 &= 0x80000000; if (j0 == -1) @@ -49,7 +49,7 @@ __roundf (float x) if ((i0 & i) == 0) /* X is integral. */ return x; - math_force_eval (huge + x > 0.0F); + math_force_eval (huge + x); /* Raise inexact if x != 0. */ i0 += 0x00400000 >> j0; |