]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/libm-test-csinh.inc
Fix the inaccuracy of j0f/j1f/y0f/y1f [BZ #14469, #14470, #14471, #14472]
[thirdparty/glibc.git] / math / libm-test-csinh.inc
index 5c4c687f71e74a5e1a49ec09f9de888e71bea9c9..0ccf78324b0cb6a715179b9d9b11b1a6a5059f63 100644 (file)
@@ -1,5 +1,5 @@
 /* Test csinh.
-   Copyright (C) 1997-2017 Free Software Foundation, Inc.
+   Copyright (C) 1997-2021 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -14,7 +14,9 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
+
+#include "libm-test-driver.c"
 
 static const struct test_c_c_data csinh_test_data[] =
   {
@@ -64,9 +66,6 @@ static const struct test_c_c_data csinh_test_data[] =
     TEST_c_c (csinh, qnan_value, qnan_value, qnan_value, qnan_value),
 
     AUTO_TESTS_c_c (csinh),
-
-    TEST_c_c (csinh, min_subnorm_value, min_value, min_subnorm_value, min_value, UNDERFLOW_EXCEPTION),
-    TEST_c_c (csinh, min_value, min_subnorm_value, min_value, min_subnorm_value, UNDERFLOW_EXCEPTION),
   };
 
 static void
@@ -75,6 +74,12 @@ csinh_test (void)
   ALL_RM_TEST (csinh, 0, csinh_test_data, RUN_TEST_LOOP_c_c, END_COMPLEX);
 }
 
+static void
+do_test (void)
+{
+  csinh_test ();
+}
+
 /*
  * Local Variables:
  * mode:c