]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/test-double.h
powerpc: Fix build of wcscpy with --disable-multi-arch
[thirdparty/glibc.git] / math / test-double.h
index 0038acf89b587e0081e24b368a14f8cb2c5d2ead..00e8d64ffab3fd99a8eec187e6b40c8ae3a3352e 100644 (file)
@@ -1,5 +1,5 @@
 /* Common definitions for libm tests for double.
-   Copyright (C) 1997-2015 Free Software Foundation, Inc.
+   Copyright (C) 1997-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
 #define FUNC(function) function
 #define FLOAT double
-#define PRINTF_EXPR "e"
-#define PRINTF_XEXPR "a"
-#define PRINTF_NEXPR "f"
-#define TEST_DOUBLE 1
+#define CFLOAT __complex__ double
 #define BUILD_COMPLEX(real, imag) (CMPLX ((real), (imag)))
+#define PREFIX DBL
+#define LIT(x) (x)
+#define TYPE_STR "double"
+#define ULP_IDX ULP_DBL
+#define ULP_I_IDX ULP_I_DBL
+#define LITM(x) x
+#define FTOSTR strfromd
+#define snan_value_MACRO SNAN
+#define TEST_FLOATN 0
+#define FUNC_NARROW_PREFIX d