diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-09-30 05:17:55 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-09-30 05:17:55 +0530 |
commit | 3459931a1aed87b78a521b0eb931a465c1d101b2 (patch) | |
tree | 804837fcf53d509811f8d2cefb05185ccc03042a /math/atest-sincos.c | |
parent | a87b5e95adb97ffd33b2d15cf1a29221e4214500 (diff) | |
download | glibc-3459931a1aed87b78a521b0eb931a465c1d101b2.zip glibc-3459931a1aed87b78a521b0eb931a465c1d101b2.tar.gz glibc-3459931a1aed87b78a521b0eb931a465c1d101b2.tar.bz2 |
Use copysign instead of ternary conditions for positive constants
This is the first very simple substitution of ternary conditions for
correction adjustments with __copysign for positive constants.
* sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
instead of ternary condition.
(do_sin_slow): Likewise.
(do_sincos_1): Likewise.
(do_sincos_2): Likewise.
(__cos): Likewise.
(sloww): Likewise.
(sloww1): Likewise.
(sloww2): Likewise.
(bsloww): Likewise.
(bsloww1): Likewise.
(bsloww2): Likewise.
Diffstat (limited to 'math/atest-sincos.c')
0 files changed, 0 insertions, 0 deletions