From ba3752d5322448ab54b71c82e63a09542042a3b6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 16 Jul 2001 21:31:43 +0000 Subject: Update. 2001-07-16 Andreas Schwab * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers. 2001-07-16 Andreas Schwab * math/libm-test.inc (check_float_internal): Fix sign bit test of infinities. 2001-07-16 Jakub Jelinek * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly. --- math/libm-test.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'math/libm-test.inc') diff --git a/math/libm-test.inc b/math/libm-test.inc index bacd8d9d4e..118f00a9ba 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -460,8 +460,8 @@ check_float_internal (const char *test_name, FLOAT computed, FLOAT expected, else if (isinf (computed) && isinf (expected)) { /* Test for sign of infinities. */ - if (((exceptions & IGNORE_ZERO_INF_SIGN) == 0) - && (isinf (computed) != isinf (expected))) + if ((exceptions & IGNORE_ZERO_INF_SIGN) == 0 + && signbit (computed) != signbit (expected)) { ok = 0; printf ("infinity has wrong sign.\n"); @@ -482,9 +482,9 @@ check_float_internal (const char *test_name, FLOAT computed, FLOAT expected, ulp = diff / FUNC(ldexp) (1.0, FUNC(ilogb) (expected) - MANT_DIG); set_max_error (ulp, curr_max_error); print_diff = 1; - if (((exceptions & IGNORE_ZERO_INF_SIGN) == 0) - && (computed == 0.0 && expected == 0.0 - && signbit(computed) != signbit (expected))) + if ((exceptions & IGNORE_ZERO_INF_SIGN) == 0 + && computed == 0.0 && expected == 0.0 + && signbit(computed) != signbit (expected)) ok = 0; else if (ulp == 0.0 || (ulp <= max_ulp && !ignore_max_ulp)) ok = 1; -- cgit v1.2.3