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: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 27 May 2016 12:12:21 -0500
- 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> <alpine dot DEB dot 2 dot 20 dot 1605271331170 dot 16665 at digraph dot polyomino dot org dot uk>
On 05/27/2016 08:31 AM, Joseph Myers wrote:
> 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.
>
Committed as 84ba459.