Use more decimal places for long double constants in math.h

Richard Henderson rth@twiddle.net
Thu May 31 20:58:00 GMT 2012


On 05/31/2012 09:22 AM, Joseph S. Myers wrote:
> 2012-05-31  Joseph Myers<joseph@codesourcery.com>
>
> 	* math/math.h (M_El): Use two more decimal places.
> 	(M_LOG2El): Likewise.
> 	(M_LOG10El): Likewise.
> 	(M_LN2l): Likewise.
> 	(M_LN10l): Likewise.
> 	(M_PIl): Likewise.
> 	(M_PI_2l): Likewise.
> 	(M_PI_4l): Likewise.
> 	(M_1_PIl): Likewise.
> 	(M_2_PIl): Likewise.
> 	(M_2_SQRTPIl): Likewise.
> 	(M_SQRT2l): Likewise.
> 	(M_SQRT1_2l): Likewise.

I think the logic of adding two more places is obviously correct.

I didn't actually look up/compute the constants; I trust you did
that correctly.


r~



More information about the Libc-alpha mailing list