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.18-574-g7a74607


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  7a74607ff632054cbf915179c4b4735be009694f (commit)
      from  196f7f5dbfe3019379934ab39ca8b7ef1d92add5 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7a74607ff632054cbf915179c4b4735be009694f

commit 7a74607ff632054cbf915179c4b4735be009694f
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Wed Dec 11 12:08:19 2013 +0530

    Consolidate definition of constant t22

diff --git a/ChangeLog b/ChangeLog
index bfa0b6e..9ae9e42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+	* sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
+	definition...
+	(slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
+	csloww1, csloww2): ... from here.
+
 	* sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
 	instead of structures.
 	* sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
diff --git a/sysdeps/ieee754/dbl-64/s_sin.c b/sysdeps/ieee754/dbl-64/s_sin.c
index 8e8b294..b8c1303 100644
--- a/sysdeps/ieee754/dbl-64/s_sin.c
+++ b/sysdeps/ieee754/dbl-64/s_sin.c
@@ -124,6 +124,8 @@ static const double
   cs4 = -4.16666666666664434524222570944589E-02,
   cs6 = 1.38888874007937613028114285595617E-03;
 
+static const double t22 = 0x1.8p22;
+
 void __dubsin (double x, double dx, double w[]);
 void __docos (double x, double dx, double w[]);
 double __mpsin (double x, double dx, bool reduce_range);
@@ -734,7 +736,6 @@ slow1 (double x)
 {
   mynumber u;
   double sn, ssn, cs, ccs, s, c, w[2], y, y1, y2, c1, c2, xx, cor, res;
-  static const double t22 = 6291456.0;
   y = ABS (x);
   u.x = big + y;
   y = y - (u.x - big);
@@ -773,7 +774,7 @@ slow2 (double x)
 {
   mynumber u;
   double sn, ssn, cs, ccs, s, c, w[2], y, y1, y2, e1, e2, xx, cor, res, del;
-  static const double t22 = 6291456.0;
+
   y = ABS (x);
   y = hp0 - y;
   if (y >= 0)
@@ -897,7 +898,6 @@ sloww1 (double x, double dx, double orig)
 {
   mynumber u;
   double sn, ssn, cs, ccs, s, c, w[2], y, y1, y2, c1, c2, xx, cor, res;
-  static const double t22 = 6291456.0;
 
   y = ABS (x);
   u.x = big + y;
@@ -953,7 +953,6 @@ sloww2 (double x, double dx, double orig, int n)
 {
   mynumber u;
   double sn, ssn, cs, ccs, s, c, w[2], y, y1, y2, e1, e2, xx, cor, res;
-  static const double t22 = 6291456.0;
 
   y = ABS (x);
   u.x = big + y;
@@ -1042,7 +1041,6 @@ bsloww1 (double x, double dx, double orig, int n)
 {
   mynumber u;
   double sn, ssn, cs, ccs, s, c, w[2], y, y1, y2, c1, c2, xx, cor, res;
-  static const double t22 = 6291456.0;
 
   y = ABS (x);
   u.x = big + y;
@@ -1093,7 +1091,6 @@ bsloww2 (double x, double dx, double orig, int n)
 {
   mynumber u;
   double sn, ssn, cs, ccs, s, c, w[2], y, y1, y2, e1, e2, xx, cor, res;
-  static const double t22 = 6291456.0;
 
   y = ABS (x);
   u.x = big + y;
@@ -1143,7 +1140,6 @@ cslow2 (double x)
 {
   mynumber u;
   double sn, ssn, cs, ccs, s, c, w[2], y, y1, y2, e1, e2, xx, cor, res;
-  static const double t22 = 6291456.0;
 
   y = ABS (x);
   u.x = big + y;
@@ -1261,7 +1257,6 @@ csloww1 (double x, double dx, double orig)
 {
   mynumber u;
   double sn, ssn, cs, ccs, s, c, w[2], y, y1, y2, c1, c2, xx, cor, res;
-  static const double t22 = 6291456.0;
 
   y = ABS (x);
   u.x = big + y;
@@ -1316,7 +1311,6 @@ csloww2 (double x, double dx, double orig, int n)
 {
   mynumber u;
   double sn, ssn, cs, ccs, s, c, w[2], y, y1, y2, e1, e2, xx, cor, res;
-  static const double t22 = 6291456.0;
 
   y = ABS (x);
   u.x = big + y;

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

Summary of changes:
 ChangeLog                      |    5 +++++
 sysdeps/ieee754/dbl-64/s_sin.c |   12 +++---------
 2 files changed, 8 insertions(+), 9 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]