From 3384c45e66ddf18f235654b67ae34ac7dcb07534 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 3 Nov 2016 13:03:55 +0100 Subject: 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. --- test/math/test-idouble.c | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'test/math/test-idouble.c') diff --git a/test/math/test-idouble.c b/test/math/test-idouble.c index e340e19..10a3685 100644 --- a/test/math/test-idouble.c +++ b/test/math/test-idouble.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1999 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 , 1997. @@ -16,19 +16,10 @@ License along with the GNU C Library; if not, see . */ -#define FUNC(function) function -#define FLOAT double -#define TEST_MSG "testing double (inline functions)\n" -#define MATHCONST(x) x -#define CHOOSE(Clongdouble,Cdouble,Cfloat,Cinlinelongdouble,Cinlinedouble,Cinlinefloat) Cinlinedouble -#define PRINTF_EXPR "e" -#define PRINTF_XEXPR "a" -#define PRINTF_NEXPR "f" -#define TEST_DOUBLE 1 -#define TEST_INLINE +#include "test-double.h" +#include "test-math-inline.h" +#include "test-math-scalar.h" -#ifdef __NO_MATH_INLINES -# undef __NO_MATH_INLINES -#endif +#define TEST_MSG "testing double (inline functions)\n" #include "libm-test.c" -- cgit v1.2.3