diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-26 10:11:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-26 10:11:59 +0000 |
commit | 6497a1d081505a2d0b50e06fcdca71d5f0a11192 (patch) | |
tree | 1893c3063f3970cd55a323a992d6c2dcebb0b009 /math/libm-test.inc | |
parent | 6721afe294991fc1862e417263ccb04bf04599d6 (diff) | |
download | glibc-6497a1d081505a2d0b50e06fcdca71d5f0a11192.tar glibc-6497a1d081505a2d0b50e06fcdca71d5f0a11192.tar.gz glibc-6497a1d081505a2d0b50e06fcdca71d5f0a11192.tar.bz2 glibc-6497a1d081505a2d0b50e06fcdca71d5f0a11192.zip |
[BZ #376]
Update.
* sysdeps/generic/s_fdim.c: Handle +inf/+inf
* sysdeps/generic/s_fdimf.c: Likewise.
* sysdeps/generic/s_fdiml.c: Likewise.
* sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
* sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
* sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
* sysdeps/powerpc/fpu/s_fdim.c: Likewise.
* sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
* sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
* math/libm-test.inc (fdim_test): Add test case. [BZ #376].
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r-- | math/libm-test.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 729fce9369..b23ec8430f 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -2557,6 +2557,8 @@ fdim_test (void) TEST_ff_f (fdim, nan_value, minus_infty, nan_value); TEST_ff_f (fdim, nan_value, nan_value, nan_value); + TEST_ff_f (fdim, plus_infty, plus_infty, 0); + END (fdim); } |