]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/test-math-vector.h
Improve the accuracy of tgamma (BZ #26983)
[thirdparty/glibc.git] / math / test-math-vector.h
index c2691088cba0d7b5d87633e764da9775670e0c2d..65ce0c375b149c869a2d78bc62091ae3402e8028 100644 (file)
@@ -1,5 +1,5 @@
 /* Common definitions for libm tests for vector functions.
-   Copyright (C) 2014-2016 Free Software Foundation, Inc.
+   Copyright (C) 2014-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
 
    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/>.  */
 
 #define TEST_MATHVEC 1
-#define TEST_FINITE 0
+#define TEST_NARROW 0
 #define TEST_ERRNO 0
+#define TEST_EXCEPTIONS 0
 
 #define CNCT(x, y) x ## y
 #define CONCAT(a, b) CNCT (a, b)
 
 #define WRAPPER_NAME(function) CONCAT (function, VEC_SUFF)
+#define FUNC_TEST(function) WRAPPER_NAME (FUNC (function))
 
 /* This macro is used in VECTOR_WRAPPER macros for vector tests.  */
 #define TEST_VEC_LOOP(vec, len)                                \
@@ -50,7 +52,7 @@
     }                                                          \
   while (0)
 
-#define WRAPPER_DECL(function) extern FLOAT function (FLOAT);
+#define WRAPPER_DECL_f(function) extern FLOAT function (FLOAT);
 #define WRAPPER_DECL_ff(function) extern FLOAT function (FLOAT, FLOAT);
 #define WRAPPER_DECL_fFF(function) extern void function (FLOAT, FLOAT *, FLOAT *);