mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
@@ -26,4 +26,5 @@
|
||||
#define PREFIX LDBL
|
||||
#define TYPE_STR "ldouble"
|
||||
#define LIT(x) (x ## L)
|
||||
#define LITM(x) x ## l
|
||||
#define FTOSTR snprintf
|
||||
|
||||
Reference in New Issue
Block a user