This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch, master, updated. glibc-2.15-1101-g2d10d54


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  2d10d547c1e41138e439d74105246eca31547693 (commit)
      from  f230c29b40cc36ce62387664be92c3cf94119efe (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=2d10d547c1e41138e439d74105246eca31547693

commit 2d10d547c1e41138e439d74105246eca31547693
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu May 31 21:25:48 2012 +0000

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

diff --git a/ChangeLog b/ChangeLog
index b0a4689..73b45a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+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.
+
 2012-05-31  David S. Miller  <davem@davemloft.net>
 
 	* sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
diff --git a/math/math.h b/math/math.h
index 10ea2b4..bcdd5c9 100644
--- a/math/math.h
+++ b/math/math.h
@@ -365,19 +365,19 @@ extern int matherr (struct exception *__exc);
    Therefore we provide as an extension constants with similar names as a
    GNU extension.  Provide enough digits for the 128-bit IEEE quad.  */
 #ifdef __USE_GNU
-# define M_El		2.7182818284590452353602874713526625L  /* e */
-# define M_LOG2El	1.4426950408889634073599246810018921L  /* log_2 e */
-# define M_LOG10El	0.4342944819032518276511289189166051L  /* log_10 e */
-# define M_LN2l		0.6931471805599453094172321214581766L  /* log_e 2 */
-# define M_LN10l	2.3025850929940456840179914546843642L  /* log_e 10 */
-# define M_PIl		3.1415926535897932384626433832795029L  /* pi */
-# define M_PI_2l	1.5707963267948966192313216916397514L  /* pi/2 */
-# define M_PI_4l	0.7853981633974483096156608458198757L  /* pi/4 */
-# define M_1_PIl	0.3183098861837906715377675267450287L  /* 1/pi */
-# define M_2_PIl	0.6366197723675813430755350534900574L  /* 2/pi */
-# define M_2_SQRTPIl	1.1283791670955125738961589031215452L  /* 2/sqrt(pi) */
-# define M_SQRT2l	1.4142135623730950488016887242096981L  /* sqrt(2) */
-# define M_SQRT1_2l	0.7071067811865475244008443621048490L  /* 1/sqrt(2) */
+# define M_El		2.718281828459045235360287471352662498L /* e */
+# define M_LOG2El	1.442695040888963407359924681001892137L /* log_2 e */
+# define M_LOG10El	0.434294481903251827651128918916605082L /* log_10 e */
+# define M_LN2l		0.693147180559945309417232121458176568L /* log_e 2 */
+# define M_LN10l	2.302585092994045684017991454684364208L /* log_e 10 */
+# define M_PIl		3.141592653589793238462643383279502884L /* pi */
+# define M_PI_2l	1.570796326794896619231321691639751442L /* pi/2 */
+# define M_PI_4l	0.785398163397448309615660845819875721L /* pi/4 */
+# define M_1_PIl	0.318309886183790671537767526745028724L /* 1/pi */
+# define M_2_PIl	0.636619772367581343075535053490057448L /* 2/pi */
+# define M_2_SQRTPIl	1.128379167095512573896158903121545172L /* 2/sqrt(pi) */
+# define M_SQRT2l	1.414213562373095048801688724209698079L /* sqrt(2) */
+# define M_SQRT1_2l	0.707106781186547524400844362104849039L /* 1/sqrt(2) */
 #endif
 
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog   |   16 ++++++++++++++++
 math/math.h |   26 +++++++++++++-------------
 2 files changed, 29 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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