diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-09-01 22:08:51 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-09-02 20:08:41 +0530 |
commit | 758e79ec89c4e285bafcef601702cd27790fd78e (patch) | |
tree | e39c5f73deaf46c1352560e1a27e5fca4399d5d1 /ChangeLog | |
parent | 9dd87afbf1a2f7991a733609bbda6f26cadaa6ce (diff) | |
download | glibc-758e79ec89c4e285bafcef601702cd27790fd78e.tar.gz |
Consolidate input partitioning into do_cos and do_sin
All calls to do_cos are preceded by code that partitions x into a
larger double that gives an offset into the sincos table and a smaller
double that is used in a polynomial computation. Consolidate all of
them into do_cos and do_sin to reduce code duplication.
* sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
arguments. Consolidate input partitioning from callers here.
(do_cos_slow): Likewise.
(do_sin): Likewise.
(do_sin_slow): Likewise.
(do_sincos_1): Remove the no longer necessary input partitioning.
(do_sincos_2): Likewise.
(__sin): Likewise.
(__cos): Likewise.
(slow1): Likewise.
(slow2): Likewise.
(sloww1): Likewise.
(sloww2): Likewise.
(bsloww1): Likewise.
(bsloww2): Likewise.
(cslow2): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,22 @@ +2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org> + + * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input + arguments. Consolidate input partitioning from callers here. + (do_cos_slow): Likewise. + (do_sin): Likewise. + (do_sin_slow): Likewise. + (do_sincos_1): Remove the no longer necessary input partitioning. + (do_sincos_2): Likewise. + (__sin): Likewise. + (__cos): Likewise. + (slow1): Likewise. + (slow2): Likewise. + (sloww1): Likewise. + (sloww2): Likewise. + (bsloww1): Likewise. + (bsloww2): Likewise. + (cslow2): Likewise. + 2016-09-02 Florian Weimer <fweimer@redhat.com> * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of |