diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-11-21 11:42:09 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-11-21 11:42:09 +0000 |
commit | b640e88eff2f0c60d1604382c15a147a2373f6d1 (patch) | |
tree | f7d8c9841b3b9163b5c13f49f44c27015a0f2ec6 /math | |
parent | f2fad0ae26d274bd203ba350a66b6f2bec3f6740 (diff) | |
download | glibc-b640e88eff2f0c60d1604382c15a147a2373f6d1.tar glibc-b640e88eff2f0c60d1604382c15a147a2373f6d1.tar.gz glibc-b640e88eff2f0c60d1604382c15a147a2373f6d1.tar.bz2 glibc-b640e88eff2f0c60d1604382c15a147a2373f6d1.zip |
2004-11-20 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ieee754/k_standard.c: Document code 50.
(__kernel_standard) <case 50>: Avoid raising div-by-zero
exception again.
2004-11-19 H.J. Lu <hongjiu.lu@intel.com>
[BZ #552]
* math/libm-test.inc (tgamma_test): Update tgamma (0) and
tgamma (-0).
* sysdeps/generic/w_tgamma.c (__tgamma): Properly handle
|x| == 0.
* sysdeps/generic/w_tgammaf.c (__tgammaf): Likewise.
* sysdeps/generic/w_tgammal.c (__tgammal): Likewise.
* sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
* sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
* sysdeps/ieee754/k_standard.c (__kernel_standard): Handle
tgamma (0) and tgamma (-0).
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index b23ec8430f..77950e529a 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -4132,8 +4132,8 @@ tgamma_test (void) START (tgamma); TEST_f_f (tgamma, plus_infty, plus_infty); - TEST_f_f (tgamma, 0, nan_value, INVALID_EXCEPTION); - TEST_f_f (tgamma, minus_zero, nan_value, INVALID_EXCEPTION); + TEST_f_f (tgamma, 0, plus_infty, DIVIDE_BY_ZERO_EXCEPTION); + TEST_f_f (tgamma, minus_zero, minus_infty, DIVIDE_BY_ZERO_EXCEPTION); /* tgamma (x) == NaN plus invalid exception for integer x <= 0. */ TEST_f_f (tgamma, -2, nan_value, INVALID_EXCEPTION); TEST_f_f (tgamma, minus_infty, nan_value, INVALID_EXCEPTION); |