From 6497a1d081505a2d0b50e06fcdca71d5f0a11192 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 26 Sep 2004 10:11:59 +0000 Subject: [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]. --- math/libm-test.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'math') 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); } -- cgit v1.2.3