From a0d7487a6636f06daf9b4fb2c3765935bb4daf65 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 23 Sep 2022 08:14:34 +0200 Subject: revert glibc sync for math tests Signed-off-by: Waldemar Brodkorb --- test/math/test-ifloat.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'test/math/test-ifloat.c') diff --git a/test/math/test-ifloat.c b/test/math/test-ifloat.c index 88bb5b8..b8291d1 100644 --- a/test/math/test-ifloat.c +++ b/test/math/test-ifloat.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997-2016 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger , 1997. @@ -16,10 +16,19 @@ License along with the GNU C Library; if not, see . */ -#include "test-float.h" -#include "test-math-inline.h" -#include "test-math-scalar.h" - +#define FUNC(function) function ## f +#define FLOAT float #define TEST_MSG "testing float (inline functions)\n" +#define MATHCONST(x) x +#define CHOOSE(Clongdouble,Cdouble,Cfloat,Cinlinelongdouble,Cinlinedouble,Cinlinefloat) Cinlinefloat +#define PRINTF_EXPR "e" +#define PRINTF_XEXPR "a" +#define PRINTF_NEXPR "f" +#define TEST_FLOAT 1 +#define TEST_INLINE 1 + +#ifdef __NO_MATH_INLINES +# undef __NO_MATH_INLINES +#endif #include "libm-test.c" -- cgit v1.2.3