diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-20 03:20:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-20 03:20:31 +0000 |
commit | f30e0cd35eae3bfac07df89db16c04de1a39671d (patch) | |
tree | 60b216a7b4e062961d9774dfc57b80f3362b1974 /math | |
parent | fe559c5e1ce629f94f1621c76f5cfd59d6028830 (diff) | |
download | glibc-f30e0cd35eae3bfac07df89db16c04de1a39671d.tar.gz glibc-f30e0cd35eae3bfac07df89db16c04de1a39671d.tar.xz glibc-f30e0cd35eae3bfac07df89db16c04de1a39671d.zip |
Update.
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.
Diffstat (limited to 'math')
-rwxr-xr-x | math/gen-libm-test.pl | 2 | ||||
-rw-r--r-- | math/libm-test.inc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/math/gen-libm-test.pl b/math/gen-libm-test.pl index 275ba7beaa..7a8c518d3e 100755 --- a/math/gen-libm-test.pl +++ b/math/gen-libm-test.pl @@ -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"; 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); } |