diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-11-03 13:03:55 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-11-03 13:03:55 +0100 |
commit | 3384c45e66ddf18f235654b67ae34ac7dcb07534 (patch) | |
tree | edbd0f03b72acb5961f7919e13da34a34a84fc23 /test/math/test-ildoubl.c | |
parent | 29d1023614fcfef8520edec8b64e9f8953d9a121 (diff) |
math: sync with GNU libc
The format of the ULPS files have changed, non-glibc architecture
files needs to be updated later.
Add all math tests from latest GNU libc and allow to compile
and run them on uClibc-ng and GNU libc systems.
Diffstat (limited to 'test/math/test-ildoubl.c')
-rw-r--r-- | test/math/test-ildoubl.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/test/math/test-ildoubl.c b/test/math/test-ildoubl.c index 7873804..dc0efaa 100644 --- a/test/math/test-ildoubl.c +++ b/test/math/test-ildoubl.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1999, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1997-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>, 1997. @@ -16,19 +16,10 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#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 +#include "test-ldouble.h" +#include "test-math-inline.h" +#include "test-math-scalar.h" -#ifdef __NO_MATH_INLINES -# undef __NO_MATH_INLINES -#endif +#define TEST_MSG "testing long double (inline functions)\n" #include "libm-test.c" |