]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/libm-test-nextafter.inc
Fix the inaccuracy of j0f/j1f/y0f/y1f [BZ #14469, #14470, #14471, #14472]
[thirdparty/glibc.git] / math / libm-test-nextafter.inc
index fdc4e6a5a6739100516769fc877259898b11951d..afec5f9a84af7f496a6163676b5c8d7efc02a1a4 100644 (file)
@@ -1,5 +1,5 @@
 /* Test nextafter.
-   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_ff_f_data nextafter_test_data[] =
   {
@@ -129,6 +131,12 @@ nextafter_test (void)
   ALL_RM_TEST (nextafter, 1, nextafter_test_data, RUN_TEST_LOOP_ff_f, END);
 }
 
+static void
+do_test (void)
+{
+  nextafter_test ();
+}
+
 /*
  * Local Variables:
  * mode:c