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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/libm-test.c b/math/libm-test.c
index 356cc91a16..72c27b16ca 100644
--- a/math/libm-test.c
+++ b/math/libm-test.c
@@ -3499,10 +3499,10 @@ basic_tests (void)
   /*
      And again with the value returned by the `nan' function.
    */
-  check_bool ("isnan (NAN)", isnan (FUNC(nan) ("")));
-  check_bool ("isnan (-NAN)", isnan (-FUNC(nan) ("")));
-  check_bool ("!isinf (NAN)", !(isinf (FUNC(nan) (""))));
-  check_bool ("!isinf (-NAN)", !(isinf (-FUNC(nan) (""))));
+  check_bool ("isnan (NAN)", FUNC(isnan) (FUNC(nan) ("")));
+  check_bool ("isnan (-NAN)", FUNC(isnan) (-FUNC(nan) ("")));
+  check_bool ("!isinf (NAN)", !(FUNC(isinf) (FUNC(nan) (""))));
+  check_bool ("!isinf (-NAN)", !(FUNC(isinf) (-FUNC(nan) (""))));
   check_bool ("NAN != NAN", FUNC(nan) ("") != FUNC(nan) (""));
 
   /* test if EPSILON is ok */