]> 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 e172b8fb4df787f27a58ef5829d06a2129dbaebc..00e8d64ffab3fd99a8eec187e6b40c8ae3a3352e 100644 (file)
@@ -1,5 +1,5 @@
 /* Common definitions for libm tests for double.
-   Copyright (C) 1997-2016 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 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 snprintf
+#define FTOSTR strfromd
 #define snan_value_MACRO SNAN
+#define TEST_FLOATN 0
+#define FUNC_NARROW_PREFIX d