aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2018-04-03 16:46:10 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2018-04-03 16:52:17 +0100
commitaef3e2558a0ab0aff6d80f3e99ebe228321ab4b3 (patch)
treef0ec1691f868efcb353793d3e6055b1692a63717 /ChangeLog
parent72f6e9a3e34e2be76fd9a18ea1a427e7a713465e (diff)
downloadglibc-aef3e2558a0ab0aff6d80f3e99ebe228321ab4b3.zip
glibc-aef3e2558a0ab0aff6d80f3e99ebe228321ab4b3.tar.gz
glibc-aef3e2558a0ab0aff6d80f3e99ebe228321ab4b3.tar.bz2
[PATCH 6/7] sin/cos slow paths: refactor duplicated code into dosin
Refactor duplicated code into do_sin. Since all calls to do_sin use copysign to set the sign of the result, move it inside do_sin. Small inputs use a separate polynomial, so move this into do_sin as well (the check is based on the more conservative case when doing large range reduction, but could be relaxed). * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small inputs. Return correct sign. (do_sincos): Remove small input check before do_sin, let do_sin set the sign. (__sin): Likewise. (__cos): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b8b660..2e5b570 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
+ * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
+ inputs. Return correct sign.
+ (do_sincos): Remove small input check before do_sin, let do_sin set
+ the sign.
+ (__sin): Likewise.
+ (__cos): Likewise.
+
+2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
+
* sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
(do_cos_slow): Likewise.
(do_sin_slow): Likewise.