Remove some redundant computations in s_sin.c
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 20 Dec 2013 10:25:34 +0000 (15:55 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 20 Dec 2013 10:25:34 +0000 (15:55 +0530)
commit5ff8d60ef324b9666c92fc342d143e8074043cd1
tree13e559d95b9a29ccd8a7cf5354e2b1a0295850e7
parent64a17f1adde4715bb6607f64decd73b2df9e6852
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.
ChangeLog
sysdeps/ieee754/dbl-64/s_sin.c