Use copysign instead of ternary conditions for positive constants
commit3459931a1aed87b78a521b0eb931a465c1d101b2
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 29 Sep 2016 23:47:55 +0000 (30 05:17 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 29 Sep 2016 23:47:55 +0000 (30 05:17 +0530)
tree804837fcf53d509811f8d2cefb05185ccc03042a
parenta87b5e95adb97ffd33b2d15cf1a29221e4214500
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.
ChangeLog
sysdeps/ieee754/dbl-64/s_sin.c