about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--math/libm-test.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 65035dd380..1d87f9ad09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
+
+	* math/libm-test.c (hypot_test): Fix a tyypo.
+
 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
 
 	* stdio-common/vfprintf.c: When precision is specified for %ls or
diff --git a/math/libm-test.c b/math/libm-test.c
index 40838f57d4..a0c662b69c 100644
--- a/math/libm-test.c
+++ b/math/libm-test.c
@@ -1987,7 +1987,7 @@ hypot_test (void)
   check_isinfp_ext ("hypot (-inf, x) == +inf", FUNC(hypot) (minus_infty, a), a);
 
 #ifndef TEST_INLINE
-  check_isinfp ("hypot (+inf, NaN) == +inf", FUNC(hypot) (minus_infty, nan_value));
+  check_isinfp ("hypot (+inf, NaN) == +inf", FUNC(hypot) (plus_infty, nan_value));
   check_isinfp ("hypot (-inf, NaN) == +inf", FUNC(hypot) (minus_infty, nan_value));
 #endif