1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +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:
Paul E. Murphy
2016-05-27 12:03:33 -05:00
parent 135d1c7f6a
commit 84ba459dcf
5 changed files with 169 additions and 154 deletions

View File

@@ -26,4 +26,5 @@
#define PREFIX DBL
#define LIT(x) (x)
#define TYPE_STR "double"
#define LITM(x) x
#define FTOSTR snprintf