about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh.poyarekar@linaro.org>2015-12-21 10:43:04 +0530
committerSiddhesh Poyarekar <siddhesh.poyarekar@linaro.org>2015-12-21 10:43:04 +0530
commitb300455644e2945da05eb49d12d3a037f1408be1 (patch)
tree71301f70e68810cdac8ab2ee812e0f3343ae1e8b /ChangeLog
parentf7953c44d545c91442f123300288853284501dab (diff)
downloadglibc-b300455644e2945da05eb49d12d3a037f1408be1.tar.gz
glibc-b300455644e2945da05eb49d12d3a037f1408be1.tar.xz
glibc-b300455644e2945da05eb49d12d3a037f1408be1.zip
Consolidate sincos computation for 2.426265 < |x| < 105414350
Like the previous change, exploit the fact that computation for sin
and cos is identical except that it is apart by a quadrant.  Also
remove csloww, csloww1 and csloww2 since they can easily be expressed
in terms of sloww, sloww1 and sloww2.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2228769d6a..c06799712e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
 
+	* sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
+	Remove functions.
+	(sloww, sloww1): Accept argument to offset quadrant.
+	(sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
+	quadrant.
+	(__sin, __cos): Consolidate common code into new functions.
+	(reduce_sincos_1, do_sincos_1): New functions.
+	* sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
+
 	* sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
 	code to new functions.
 	(reduce_sincos_2, do_sincos_2): New functions.