diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-12-20 15:55:34 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-12-20 15:55:34 +0530 |
commit | 5ff8d60ef324b9666c92fc342d143e8074043cd1 (patch) | |
tree | 13e559d95b9a29ccd8a7cf5354e2b1a0295850e7 /ChangeLog | |
parent | 64a17f1adde4715bb6607f64decd73b2df9e6852 (diff) | |
download | glibc-5ff8d60ef324b9666c92fc342d143e8074043cd1.tar.gz glibc-5ff8d60ef324b9666c92fc342d143e8074043cd1.tar.xz glibc-5ff8d60ef324b9666c92fc342d143e8074043cd1.zip |
Remove some redundant computations in s_sin.c
There are multiple points in the code where the absolute value of a number is computed multiple times or is computed even though the value can only be positive. This change removes those redundant computations. Tested on x86_64 to verify that there were no regressions in the testsuite.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9ebb67590b..a8dab6da0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com> + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly. + (__cos): Likewise. + (sloww1): Don't adjust sign of DX. + (csloww1): Likewise. + (sloww2): Use X directly and don't adjust sign of DX. + (csloww2): Likewise. + 2013-12-19 Joseph Myers <joseph@codesourcery.com> * math/auto-libm-test-in: Add tests of cabs and carg. |