mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +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,6 @@
|
||||
#define PREFIX FLT
|
||||
#define TYPE_STR "float"
|
||||
#define LIT(x) (x ## f)
|
||||
/* Use the double variants of macro constants. */
|
||||
#define LITM(x) x
|
||||
#define FTOSTR snprintf
|
||||
|
Reference in New Issue
Block a user