summaryrefslogtreecommitdiff
path: root/math/test-ibm128.h
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2018-05-28 18:56:35 -0300
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-03-06 09:17:32 -0600
commit0059122aa0e53ff77ee58c5ff7589a814f1228e5 (patch)
tree9682413fd7199290e1e469e29be5ddad894250c9 /math/test-ibm128.h
parent1c252f0e7e5d78695f19450aa7c470bab445aa8e (diff)
downloadglibc-0059122aa0e53ff77ee58c5ff7589a814f1228e5.tar.gz
ldbl-128ibm-compat: Add tests for IBM long double functions
This patch creates test-ibm128* tests from the long double function tests. In order to explicitly test IBM long double functions -mabi=ibmlongdouble is added to CFLAGS. Likewise, update the test headers to correct choose ULPs when redirects are enabled. Co-authored-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> Co-authored-by: Paul E. Murphy <murphyp@linux.vnet.ibm.com>
Diffstat (limited to 'math/test-ibm128.h')
-rw-r--r--math/test-ibm128.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/test-ibm128.h b/math/test-ibm128.h
new file mode 100644
index 0000000000..fce6ef1376
--- /dev/null
+++ b/math/test-ibm128.h
@@ -0,0 +1,19 @@
+/* Common definitions for libm tests for ibm long double.
+ Copyright (C) 2020 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
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ 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/>. */
+
+#include "test-ldouble.h"