diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-09-23 08:14:34 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-09-23 08:19:46 +0200 |
commit | a0d7487a6636f06daf9b4fb2c3765935bb4daf65 (patch) | |
tree | 1a499e80002a8e263ef12c094677bb67b482f612 /test/math/test-float.c | |
parent | 728e1e0ea5adf1bd9b479e4edc456b637e26c031 (diff) |
revert glibc sync for math tests
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'test/math/test-float.c')
-rw-r--r-- | test/math/test-float.c | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/test/math/test-float.c b/test/math/test-float.c index 6be57bb..6764fff 100644 --- a/test/math/test-float.c +++ b/test/math/test-float.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 <aj@suse.de>, 1997. @@ -16,12 +16,18 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#include "test-float.h" -#include "test-math-no-finite.h" -#include "test-math-no-inline.h" -#include "test-math-errno.h" -#include "test-math-scalar.h" - +#define FUNC(function) function ## f +#define FLOAT float #define TEST_MSG "testing float (without inline functions)\n" +#define MATHCONST(x) x +#define CHOOSE(Clongdouble,Cdouble,Cfloat,Cinlinelongdouble,Cinlinedouble,Cinlinefloat) Cfloat +#define PRINTF_EXPR "e" +#define PRINTF_XEXPR "a" +#define PRINTF_NEXPR "f" +#define TEST_FLOAT 1 + +#ifndef __NO_MATH_INLINES +# define __NO_MATH_INLINES +#endif #include "libm-test.c" |