summaryrefslogtreecommitdiff
path: root/test/math/test-ildoubl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/math/test-ildoubl.c')
-rw-r--r--test/math/test-ildoubl.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/test/math/test-ildoubl.c b/test/math/test-ildoubl.c
index dc0efaa..7873804 100644
--- a/test/math/test-ildoubl.c
+++ b/test/math/test-ildoubl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1997.
@@ -16,10 +16,19 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include "test-ldouble.h"
-#include "test-math-inline.h"
-#include "test-math-scalar.h"
-
+#define FUNC(function) function##l
+#define FLOAT long double
#define TEST_MSG "testing long double (inline functions)\n"
+#define MATHCONST(x) x##L
+#define CHOOSE(Clongdouble,Cdouble,Cfloat,Cinlinelongdouble,Cinlinedouble,Cinlinefloat) Cinlinelongdouble
+#define PRINTF_EXPR "Le"
+#define PRINTF_XEXPR "La"
+#define PRINTF_NEXPR "Lf"
+#define TEST_INLINE
+#define TEST_LDOUBLE 1
+
+#ifdef __NO_MATH_INLINES
+# undef __NO_MATH_INLINES
+#endif
#include "libm-test.c"