about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--math/libm-test.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 76ebd99e84..7c1f4402b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-01-31  Ulrich Drepper  <drepper@cygnus.com>
+
+	* math/libm-test.c (fdim_test): Fix typo in message.
+	Patch by Paul Kimoto <kimoto@spacenet.tn.cornell.edu>.
+
 1999-01-31  Philip Blundell  <philb@gnu.org>
 
 	* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel
diff --git a/math/libm-test.c b/math/libm-test.c
index 69246c5e11..d7a427e722 100644
--- a/math/libm-test.c
+++ b/math/libm-test.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1997.
 
@@ -2178,7 +2178,7 @@ fdim_test (void)
   check ("fdim (+0, +0) = +0", FUNC(fdim) (0, 0), 0);
   check ("fdim (9, 0) = 9", FUNC(fdim) (9, 0), 9);
   check ("fdim (0, 9) = 0", FUNC(fdim) (0, 9), 0);
-  check ("fdim (-9, 0) = 9", FUNC(fdim) (-9, 0), 0);
+  check ("fdim (-9, 0) = 0", FUNC(fdim) (-9, 0), 0);
   check ("fdim (0, -9) = 9", FUNC(fdim) (0, -9), 9);
 
   check_isinfp ("fdim (+inf, 9) = +inf", FUNC(fdim) (plus_infty, 9));