diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-12-20 15:58:19 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-12-20 15:58:19 +0530 |
commit | 84ba214c2197586bc80631dd6d6110a3bbaab7bf (patch) | |
tree | 3066cde31f520d0a1ec123f6ba48d8d788b1aa4b /ChangeLog | |
parent | 975195e4668575d5c53fbf5223501c26ee8dc20e (diff) | |
download | glibc-84ba214c2197586bc80631dd6d6110a3bbaab7bf.tar glibc-84ba214c2197586bc80631dd6d6110a3bbaab7bf.tar.gz glibc-84ba214c2197586bc80631dd6d6110a3bbaab7bf.tar.bz2 glibc-84ba214c2197586bc80631dd6d6110a3bbaab7bf.zip |
Remove more redundant computations in s_sin.c
Removed more redundant computations in the slow paths of the sin and
cos functions. The notable change is the passing of the most
significant bits of X to the slow functions to check if X is positive
so that just the absolute value of x can be passed and the repeated
ABS() operation is avoided.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com> + * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M. + Use M to change sign of result instead of X. Assume X is + positive. + (csloww1): Likewise. + (__sin): Adjust. + (__cos): Adjust. + * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove arguments A and DA. (__sin): Adjust. |