From 06fea2257dd93aa813f9a8a6ef09c0dc9ee5744d Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Tue, 27 Sep 2016 15:28:49 -0300 Subject: Replace use of snprintf with strfrom in libm tests In order to support float128 tests, the calls to snprintf, which does not support the type __float128, are replaced with calls to strfrom{f,d,l}. Tested for powerpc64le, s390, and x64_64. --- math/test-ldouble.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'math/test-ldouble.h') diff --git a/math/test-ldouble.h b/math/test-ldouble.h index 62c9eb8859..a18938a021 100644 --- a/math/test-ldouble.h +++ b/math/test-ldouble.h @@ -18,13 +18,10 @@ #define FUNC(function) function##l #define FLOAT long double -#define PRINTF_EXPR "Le" -#define PRINTF_XEXPR "La" -#define PRINTF_NEXPR "Lf" #define BUILD_COMPLEX(real, imag) (CMPLXL ((real), (imag))) #define PREFIX LDBL #define TYPE_STR "ldouble" #define LIT(x) (x ## L) #define LITM(x) x ## l -#define FTOSTR snprintf +#define FTOSTR strfroml #define snan_value_MACRO SNANL -- cgit v1.2.1