about summary refs log tree commit diff
path: root/math/libm-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test.c')
-rw-r--r--math/libm-test.c2
1 files changed, 1 insertions, 1 deletions
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