[PATCH 4/7] sin/cos slow paths: remove slow paths from huge range reduction
commit649095838b85ae71f778338c210b4c1e519e1d16
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 3 Apr 2018 15:41:36 +0000 (3 16:41 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Tue, 3 Apr 2018 15:52:17 +0000 (3 16:52 +0100)
tree4fb7255efe95bb5789321d2a3d7cb19728f6bb16
parentd9469deb14ba6f55bd8af1652951ab306a8f63bd
[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.
ChangeLog
sysdeps/ieee754/dbl-64/s_sin.c
sysdeps/ieee754/dbl-64/s_sincos.c