From 84ba459dcf558362ee7b81f7c752f984b1c80fc3 Mon Sep 17 00:00:00 2001 From: "Paul E. Murphy" Date: Fri, 27 May 2016 12:03:33 -0500 Subject: Replace M_PI2l with lit_pi_2_d in libm-test.inc This is useful in situations where the long double type is less precise than the type under test. This adds a new wrapper macro LITM(x) to each type to append the proper suffix onto macro constants found in math.h. --- math/test-ldouble.h | 1 + 1 file changed, 1 insertion(+) (limited to 'math/test-ldouble.h') diff --git a/math/test-ldouble.h b/math/test-ldouble.h index 63f5008b95..f3a8d8da9f 100644 --- a/math/test-ldouble.h +++ b/math/test-ldouble.h @@ -26,4 +26,5 @@ #define PREFIX LDBL #define TYPE_STR "ldouble" #define LIT(x) (x ## L) +#define LITM(x) x ## l #define FTOSTR snprintf -- cgit v1.2.3