This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCHv3 03/11] Refactor M_ macros defined in libm-test.inc


On Thu, 26 May 2016, Paul E. Murphy wrote:

> +/* (pi * 3 * ln(10) / 4 */
> +#define lit_pi_3_m_ln10_m_4_d	LIT (1.023282265381381010614337719073516828)

You're missing a ')' in the comment.  And, the comment, and thus the macro 
name according to your scheme, are inaccurate; this one involves dividing 
by ln(10), not multiplying by it (all the ln(10) ones are for clog10 
expectations).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]