diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2018-04-03 16:41:36 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2018-04-03 16:52:17 +0100 |
commit | 649095838b85ae71f778338c210b4c1e519e1d16 (patch) | |
tree | 4fb7255efe95bb5789321d2a3d7cb19728f6bb16 /ChangeLog | |
parent | d9469deb14ba6f55bd8af1652951ab306a8f63bd (diff) | |
download | glibc-649095838b85ae71f778338c210b4c1e519e1d16.tar glibc-649095838b85ae71f778338c210b4c1e519e1d16.tar.gz glibc-649095838b85ae71f778338c210b4c1e519e1d16.tar.bz2 glibc-649095838b85ae71f778338c210b4c1e519e1d16.zip |
[PATCH 4/7] sin/cos slow paths: remove slow paths from huge range reduction
For huge inputs use the improved do_sincos function as well. Now no cases use
the correction factor returned by do_sin, do_cos and TAYLOR_SIN, so remove it.
* sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
(do_cos): Remove corp parameter and calculations.
(do_sin): Likewise.
(do_sincos): Remove cor variable.
(__sin): Use do_sincos for huge inputs.
(__cos): Likewise.
* sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
(reduce_and_compute_sincos): Remove unused function.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,16 @@ 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com> + * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter. + (do_cos): Remove corp parameter and calculations. + (do_sin): Likewise. + (do_sincos): Remove cor variable. + (__sin): Use do_sincos for huge inputs. + (__cos): Likewise. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise. + (reduce_and_compute_sincos): Remove unused function. + +2018-04-03 Wilco Dijkstra <wdijkstr@arm.com> + * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to reduce_sincos, improve accuracy to 136 bits. (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions. |