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 /ChangeLog | |
parent | a87b5e95adb97ffd33b2d15cf1a29221e4214500 (diff) | |
download | glibc-3459931a1aed87b78a521b0eb931a465c1d101b2.tar.gz glibc-3459931a1aed87b78a521b0eb931a465c1d101b2.tar.xz glibc-3459931a1aed87b78a521b0eb931a465c1d101b2.zip |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 6f5ac7257e..7f51edd866 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,18 @@ 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org> + * 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. + * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign check from here... (slow2): ... and here... |