aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 02b2f985cb..786fc9c5af 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -466,7 +466,7 @@ check_complex (const char *test_name, FLOAT __complex__ computed,
part_exp = __real__ expected;
check_float (str, part_comp, part_exp, max_ulp, xfail, exception);
- sprintf (str, "Complex part of: %s", test_name);
+ sprintf (str, "Imaginary part of: %s", test_name);
part_comp = __imag__ computed;
part_exp = __imag__ expected;
/* Don't check again for exceptions, just pass through the
@@ -2384,13 +2384,13 @@ gamma_test (void)
TEST_f_f (gamma, plus_infty, plus_infty);
TEST_f_f (gamma, 0, plus_infty, DIVIDE_BY_ZERO_EXCEPTION);
TEST_f_f (gamma, -3, plus_infty, DIVIDE_BY_ZERO_EXCEPTION);
- TEST_f_f (gamma, minus_infty, nan_value, INVALID_EXCEPTION);
+ TEST_f_f (gamma, minus_infty, plus_infty);
TEST_f_f1 (gamma, 1, 0, 1);
TEST_f_f1 (gamma, 3, M_LN2l, 1);
TEST_f_f1 (gamma, 0.5, M_LOG_SQRT_PIl, 1);
- TEST_f_f1 (gamma, -0.5, M_LOG_2_SQRT_PIl,-1);
+ TEST_f_f1 (gamma, -0.5, M_LOG_2_SQRT_PIl, -1);
END (gamma);
}