about summary refs log tree commit diff
path: root/math/test-float.c
diff options
context:
space:
mode:
authorAndrew Senkevich <andrew.n.senkevich@gmail.com>2015-05-14 16:59:57 +0300
committerAndrew Senkevich <andrew.n.senkevich@gmail.com>2015-05-14 18:07:06 +0300
commitee9716019d04ad3f3024670a48cddf4e807ced34 (patch)
tree928172dab44889cc4fa333d99a9e134a898d512f /math/test-float.c
parent9e4ec74ffc9ea00e57a1b84acd60c1659457dd36 (diff)
downloadglibc-ee9716019d04ad3f3024670a48cddf4e807ced34.tar.gz
glibc-ee9716019d04ad3f3024670a48cddf4e807ced34.tar.xz
glibc-ee9716019d04ad3f3024670a48cddf4e807ced34.zip
This is the beginning of series of patches with addition
of vector math functions infrastructure and several x86_64 implementations.
This patch is preparatory change in libm-test.c - splitting of macros which
form name of tested functions for ability to use separate name for tested
functions and for functions used in test suite infrastructure.

2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>

    * math/test-double.c (FUNC_TEST): New macro.
    * math/test-float.c: Likewise.
    * math/test-idouble.c: Likewise.
    * math/test-ifloat.c: Likewise.
    * math/test-ildoubl.c: Likewise.
    * math/test-ldouble.c: Likewise.
    * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
Diffstat (limited to 'math/test-float.c')
-rw-r--r--math/test-float.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/test-float.c b/math/test-float.c
index 3f04e15bf3..c54dd3ccd5 100644
--- a/math/test-float.c
+++ b/math/test-float.c
@@ -17,6 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #define FUNC(function) function ## f
+#define FUNC_TEST(function) FUNC (function)
 #define FLOAT float
 #define TEST_MSG "testing float (without inline functions)\n"
 #define MATHCONST(x) x