1999-10-19  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
	aliases.

	* sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.

	* sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
	for -Inf and return NaN.

	* math/gen-libm-test.pl: Fix program name in help message.

	* math/libm-test.inc (check_complex): It's Imaginary, not Complex.

	* math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.

	* sysdeps/i386/Implies: Correct order of libm directories.
This commit is contained in:
Ulrich Drepper
1999-10-20 03:20:31 +00:00
parent fe559c5e1c
commit f30e0cd35e
9 changed files with 30 additions and 929 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ $ulps_file = 'libm-test-ulps';
$output_dir = '';
if ($opt_h) {
print "Usage: generate.pl [OPTIONS]\n";
print "Usage: gen-libm-test.pl [OPTIONS]\n";
print " -h print this help, then exit\n";
print " -o DIR directory where generated files will be placed\n";
print " -n generate sorted file NewUlps from libm-test-ulps\n";
+3 -3
View File
@@ -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);
}