This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv3 04/11] Replace M_PI2l with lit_pi_2_d in libm-test.inc
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 27 May 2016 13:31:35 +0000
- Subject: Re: [PATCHv3 04/11] Replace M_PI2l with lit_pi_2_d in libm-test.inc
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1464297421 dot git dot murphyp at linux dot vnet dot ibm dot com> <4ca0519767695877982b62ebf320e2edb2deb2c1 dot 1464297421 dot git dot murphyp at linux dot vnet dot ibm dot com>
On Thu, 26 May 2016, Paul E. Murphy wrote:
> 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.
>
> * libm-test.inc: Replace usage of M_PI2l with
> (lit_pi_2_d): New macro.
>
> * math/test-double.h (LITM): New macro.
> * math/test-float.h (LITM): Likewise.
> * math/test-ldouble.h (LITM): Likewise.
OK.
--
Joseph S. Myers
joseph@codesourcery.com