]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/libm-test-fabs.inc
math: Remove the error handling wrapper from hypot and hypotf
[thirdparty/glibc.git] / math / libm-test-fabs.inc
index 1b0dc54f369085a9f072544664acda1d7c027ebc..492514e0cdedfa173b6f296bd86192873b9c3b51 100644 (file)
@@ -1,5 +1,5 @@
 /* Test fabs.
-   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_f_f_data fabs_test_data[] =
   {
@@ -44,6 +46,12 @@ fabs_test (void)
   ALL_RM_TEST (fabs, 1, fabs_test_data, RUN_TEST_LOOP_f_f, END);
 }
 
+static void
+do_test (void)
+{
+  fabs_test ();
+}
+
 /*
  * Local Variables:
  * mode:c